Skip to content

Add default export to definition file #2

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

Merged
merged 1 commit into from
Aug 4, 2019

Conversation

Obi-Dann
Copy link
Contributor

@Obi-Dann Obi-Dann commented Aug 4, 2019

from Jimdo/typings-for-css-modules-loader#51 by @sarink

When using the style-loader, the locals object gets invisibly murdered. Fixes Jimdo/typings-for-css-modules-loader#20. If someone's not using the style-loader they can import {locals}, and if they are using the style-loader, they can use the default import. This should make everyone happy, and be fully backwards-compatible.

When using the `style-loader`, the `locals` object gets invisibly murdered. Fixes Jimdo#20. If someone's not using the `style-loader` they can `import {locals}`, and if they _are_ using the `style-loader`, they can use the default import. This should make everyone happy, and be fully backwards-compatible.
@Obi-Dann Obi-Dann merged commit 892ed63 into TeamSupercell:master Aug 4, 2019
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 this pull request may close these issues.

Generated typings not compatible with project
2 participants