Skip to content
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

Anybody have tips about how to use *.css.d.ts files in a separate --outDir #191

Open
floer32 opened this issue Jul 8, 2022 · 1 comment

Comments

@floer32
Copy link

floer32 commented Jul 8, 2022

Thank you for typed-css-modules, it's so helpful!

I tried using --outDir but I can't get TypeScript to grok the extra directory of .d.ts files, or at least, it doesn't seem to correlate them to the CSS module files. So, type-checking has worked for me when I don't use the --outDir option, but I haven't gotten it to work while using the --outDir option.

I did some research and tried a few things but no luck so far. Also, I recognize this is moreso a tsconfig.json question than a typed-css-modules issue, but asking just in case it's a simple answer that I've overlooked.

Thanks!

@ryami333
Copy link

ryami333 commented Mar 1, 2024

In order for this to work, TCM would need to support "ambient modules", which is requested in this issue: #270

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

No branches or pull requests

2 participants