Releases: garthenweb/parcel-plugin-css-modules-type-generator
Releases · garthenweb/parcel-plugin-css-modules-type-generator
v1.2.0
v1.1.0
Please be aware that this version will rewrite all .d.ts
into a new schema, therefore updating to this version will result in a bigger diff (in case you commit .d.ts files to version control).
The change is required because the old style was not compatible with none camel case variable definitions. Anyhow, the Typescript definitions are compatible, therefore this is considered not to be a breaking change.
// .d.ts file in version 1.0.x
export const myCSSClass: string;
// .d.ts file in version 1.1.x
declare const styles: {
readonly "myCSSClass": string;
};
export = styles;