Ekaradon
Ekaradon
TTCTheo's Typesafe Cult
Created by Ekaradon on 3/16/2023 in #questions
Typescript error when using tailwind Container queries plugin
Typing has been enforced all the way because this is the philosophy of t3-app: typesafety. And as you can see in the tsconfig file, you can expand the type check on files other than just ts/tsx. Thanks for the anwser nonetheless praskOo, I believe that it means it's yet too early to get a type definition here. Disabling warnings may probably be the best course of action here indeed.
11 replies
TTCTheo's Typesafe Cult
Created by Ekaradon on 3/16/2023 in #questions
Typescript error when using tailwind Container queries plugin
I suppose that I should just declare the types of this module. Just find it strange that no one raised the issue. I'm thinking I'm missing something here
11 replies
TTCTheo's Typesafe Cult
Created by Ekaradon on 3/16/2023 in #questions
Typescript error when using tailwind Container queries plugin
Typing check is still done here because it's a cjs file, see tsconfig:
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"],
11 replies
TTCTheo's Typesafe Cult
Created by Ekaradon on 3/16/2023 in #questions
Typescript error when using tailwind Container queries plugin
But it's JS
11 replies
TTCTheo's Typesafe Cult
Created by Ekaradon on 3/16/2023 in #questions
Typescript error when using tailwind Container queries plugin
11 replies