You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This had me confused for around an hour, it would be nice if this was documented or worked out of the box. I'd be happy to work on a PR for documentation or getting this to work out of the box.
The text was updated successfully, but these errors were encountered:
when trying to import a CSS module in a typescript file, Typescript will give an error that it can't find the CSS module, whereas a JS module importing a CSS module works just fine. Here's a minimal reproducible example: https://gist.github.com/NickBeeuwsaert/e091e6dd45dc7c639fff91a87ee5fd7e
If you include a
css-modules.d.ts
file in yourtsconfig.json
like below, the error will go away:This had me confused for around an hour, it would be nice if this was documented or worked out of the box. I'd be happy to work on a PR for documentation or getting this to work out of the box.
The text was updated successfully, but these errors were encountered: