After taking a several-week break from my TypeScript-based open-source project, I have returned to fix a bug. However, when running the project in VScode, it suddenly fails and presents legitimate errors that need fixing. What's puzzling is why these errors are occurring now just in VScode, not through the command-line as well.
...project/node_modules/ts-node/src/index.ts:587
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
...project/src/bar.ts(361,27): error TS2532: Object is possibly 'undefined'.
While I acknowledge the error, how can I temporarily get it working again?