This example contains:
- Class names that are expected to be kebab (param) cased. Since variables cannot contain a
-
this can be achieved using a type with default export. - Class names that are TypeScript keywords (eg:
while
) that cannot be used as named constants.
The command to generate the proper type files would look like this (in the root of this repository):
npm run typed-less-modules "examples/default-export/**/*.less" -- --exportType default --nameFormat kebab