parcel-plugin-typed-css-modules
parcel-plugin-typed-css-modules copied to clipboard
Runtime property names have hyphens, while d.ts is camel cased.
The following CSS:
#app-root { ... }
.widget { ... }
.ticker { ... }
.ticker .selected { ... }
.positive { ... }
.negative { ... }
generates the following d.ts with names camel cased:
export const appRoot: string;
export const widget: string;
export const ticker: string;
export const selected: string;
export const positive: string;
export const negative: string;
But during runtime, the hyphens remain and there is no camel cased alternative: