MCPcopy Create free account
hub / github.com/chakra-ui/panda / normalizeConfig

Method normalizeConfig

packages/core/src/utility.ts:125–131  ·  view source on GitHub ↗
(config: UtilityConfig)

Source from the content-addressed store, hash-verified

123 toHash = (path: string[], hashFn: (str: string) => string): string => hashFn(path.join(':'))
124
125 private normalizeConfig(config: UtilityConfig) {
126 return Object.fromEntries(
127 Object.entries(config).map(([property, propertyConfig]) => {
128 return [property, this.normalize(propertyConfig)]
129 }),
130 )
131 }
132
133 private assignDeprecated = (property: string, config: PropertyConfig) => {
134 if (!config.deprecated) return

Callers 1

constructorMethod · 0.95

Calls 1

entriesMethod · 0.80

Tested by

no test coverage detected