Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Fixes #1: Use the TS compiler to analyze imports Oct 11, 2018
src Add test file printing logic Dec 14, 2018
.gitignore Initial commit Oct 11, 2018
README.md
autoAdd.js Speed up auto add Oct 16, 2018
index.js Add test file printing logic Dec 14, 2018
package-lock.json
package.json Fixes #1: Use the TS compiler to analyze imports Oct 11, 2018

README.md

Scripts to help migrate VS Code to use strict null checks

Usage

$ npm install

index.js

The main script prints of list of files that are eligible for strict null checks. This includes all files that only import files thare are already strict null checked.

$ node index.js /path/to/vscode

autoAdd.js

Very simple script that tries to auto add any eligible file to the tsconfig.strictNullChecks.json. This iteratively compiles the tsconfig project with just that file added. If there are no errors, it is added to the tsconfig

$ node autoAdd.js /path/to/vscode
You can’t perform that action at this time.