Skip to content

Latest commit

History

History

default-export

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

Default Export Example

This example contains:

  • Class names that are expected to be kebab (param) cased. Since variables cannot contain a - this can be achieved using an interface 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):

yarn tlm "examples/default-export/**/*.less" --exportType default --nameFormat kebab