(config: UtilityConfig)
| 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 |