Skip to content

Add an option to not concatenate a type with a locals key #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
raphael-leger opened this issue Apr 20, 2020 · 0 comments · Fixed by #24
Closed

Add an option to not concatenate a type with a locals key #23

raphael-leger opened this issue Apr 20, 2020 · 0 comments · Fixed by #24

Comments

@raphael-leger
Copy link
Contributor

The generated d.ts files contain the following:

{
  /** WARNING: Only available when `css-loader` is used without `style-loader` or `mini-css-extract-plugin` */
  locals: AnimalScssNamespace.IAnimalScss;
};

As stated, this code is not always useful.
In this case, it takes space and complexifies the type readability.

Screenshot 2020-04-20 at 17 48 10

It would be great to add an option to disable the generation of this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant