MCPcopy Create free account
hub / github.com/adobe/react-spectrum / loadIconAliases

Function loadIconAliases

packages/dev/mcp/s2/src/s2-data.ts:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51export async function loadIconAliases(): Promise<Record<string, string[]>> {
52 if (iconAliasesCache) {
53 return iconAliasesCache;
54 }
55 const bundled = readBundledJson('iconAliases.json');
56 return (iconAliasesCache = bundled && typeof bundled === 'object' ? bundled : {});
57}
58
59export async function loadIllustrationAliases(): Promise<Record<string, string[]>> {
60 if (illustrationAliasesCache) {

Callers 1

index.tsFile · 0.85

Calls 1

readBundledJsonFunction · 0.85

Tested by

no test coverage detected