Skip to content

Instantly share code, notes, and snippets.

@KoryNunn
Created December 23, 2020 04:13
Show Gist options
  • Save KoryNunn/74f98c855f48470f48a629686a15b612 to your computer and use it in GitHub Desktop.
Save KoryNunn/74f98c855f48470f48a629686a15b612 to your computer and use it in GitHub Desktop.
Vanilla JS typechecking
{
"compilerOptions": {
"lib": ["es2017", "dom", "es2019.object", "dom.iterable"],
"allowJs": true,
"checkJs": true,
"noEmit": true,
"strict": false,
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": true,
"noImplicitThis": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true
},
"include": ["./**/*"],
"exclude": ["./node_modules/**/*"],
"exclude": ["./static/**/*"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment