MCPcopy Index your code
hub / github.com/formatjs/formatjs / createIntlCache

Function createIntlCache

packages/intl/utils.ts:81–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81export function createIntlCache(): IntlCache {
82 return {
83 dateTime: {},
84 number: {},
85 message: {},
86 relativeTime: {},
87 pluralRules: {},
88 list: {},
89 displayNames: {},
90 }
91}
92
93function createFastMemoizeCache<V>(
94 store: Record<string, V | undefined>

Callers 6

IntlProviderImplFunction · 0.90
createFormattersFunction · 0.85
index.test.tsFile · 0.85
AppFunction · 0.85
HandleChange.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected