Typescript support
Hello there.
I created a new Plasmo project.
I opened
I ran
I expect an error in the console
But the only thing I see is that the build succeeded.
What am I doing wrong and how do I ask Plasmo to throw TS errors during build into the console?
I created a new Plasmo project.
pnpm create plasmo example-dirI opened
popup.tsx and added the simple line let a: number = "just a string";I ran
pnpm dev I expect an error in the console
TS2322: Type 'string' is not assignable to type 'number'.But the only thing I see is that the build succeeded.
What am I doing wrong and how do I ask Plasmo to throw TS errors during build into the console?