Closed arsenij-melihov closed 2 years ago
Can you share a link to your repository?
I created a reproduction repo - https://github.com/arsenij-melihov/tsc-strict-ide-example.
It contains ./src/index.ts
file with the following code:
//@ts-strict
interface TestType {
bar: string;
}
const foo: TestType | undefined = undefined;
console.log(foo.bar);
and default typescript-strict-plugin
setup.
And vscode doesn't show me errors:
I believe it is the same problem as with https://github.com/allegro/typescript-strict-plugin/issues/5#issuecomment-882106427. You need to choose your tsconfig as a main typescript configuration file and it should work
You are absolutely, right! thx!
Hi! Is there a way to get errors in IDE? README says "They will show errors in your IDE but they won't appear during compilation", but I didn't find a way to get them. (I am using vscode).
Thanks in advance!