Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ localized
Function
localized
packages/contentful-generator/src/index.ts:47–47 ·
view source on GitHub ↗
(val: T)
Source
from the content-addressed store, hash-verified
45
}
46
47
const
localized = <T>(val: T) => ({
'en-US'
: val })
48
49
const
_richText = ({ numSentences }: { numSentences: number }) => ({
50
content: [
Callers
1
createMockData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…