Skip to content

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

Open
@floer32

Description

@floer32

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions