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

Function loadIllustrationAliases

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

Source from the content-addressed store, hash-verified

57}
58
59export async function loadIllustrationAliases(): Promise<Record<string, string[]>> {
60 if (illustrationAliasesCache) {
61 return illustrationAliasesCache;
62 }
63 const bundled = readBundledJson('illustrationAliases.json');
64 return (illustrationAliasesCache = bundled && typeof bundled === 'object' ? bundled : {});
65}
66
67export function loadStyleMacroPropertyValues(): Record<
68 string,

Callers 1

index.tsFile · 0.85

Calls 1

readBundledJsonFunction · 0.85

Tested by

no test coverage detected