vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Enable TypeScript compiler's strict mode

Open andyleejordan opened this issue 4 years ago • 1 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues to ensure it has not already been reported.

Summary

The following options should be enabled in tsconfig.json:

"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedParameters": true

Proposed Design

We'll have to carefully fix all the errors and potential bugs that this reveals.

andyleejordan avatar Sep 13 '21 17:09 andyleejordan

I've made progress on this with "use strict"; in most files now!

andyleejordan avatar Aug 18 '22 00:08 andyleejordan

Getting close...

andyleejordan avatar Oct 12 '22 20:10 andyleejordan