tachyons icon indicating copy to clipboard operation
tachyons copied to clipboard

Any way to avoid dupli when using camelCase towards tachyons.css

Open debuggy opened this issue 5 years ago • 0 comments

When I use typed-css-modules to import css module in typescript. The camelCase option will result in duplicated identifiers, such as:

.br-0-m => br0M === br0M <= .br0-m .top-1-m => top1M === top1M <= .top--1-m

Is there any suggestions about this issue? Thanks.

Repro Step:

$ npm install -g typed-css-modules
$ tcm src --camelCase # supposing tachyons.css was in src/
# ts will complain about duplicated identifiers in tachyons.css.d.ts

debuggy avatar Mar 27 '19 05:03 debuggy