MCPcopy
hub / github.com/google-labs-code/design.md / resolveAlias

Function resolveAlias

packages/cli/src/linter/spec-config.ts:160–162  ·  view source on GitHub ↗
(heading: string)

Source from the content-addressed store, hash-verified

158
159/** Resolve a section heading to its canonical name. */
160export function resolveAlias(heading: string): string {
161 return SECTION_ALIASES[heading] ?? heading;
162}
163
164/** Valid typography property names (for linter validation). */
165export const VALID_TYPOGRAPHY_PROPS = TYPOGRAPHY_PROPERTIES.map(p => p.name);

Callers 3

fixSectionOrderFunction · 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…