Skip to content

Instantly share code, notes, and snippets.

@rhom6us
Created March 4, 2021 07:11
Show Gist options
  • Save rhom6us/8e62d952b2ca185dfc6e706e594361c5 to your computer and use it in GitHub Desktop.
Save rhom6us/8e62d952b2ca185dfc6e706e594361c5 to your computer and use it in GitHub Desktop.
Typescript config for generating @types
{
"compilerOptions": {
"noImplicitAny": false,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"strictBindCallApply": false,
"noImplicitThis": false,
"noImplicitReturns": false,
"alwaysStrict": false,
"esModuleInterop": true,
"checkJs": false,
"allowJs": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleResolution": "node",
"target": "ESNext",
"jsx": "React",
"module": "ESNext",
"emitDeclarationOnly":true,
"declarationMap":true,
"declarationDir": "@types",
"outFile": "typings.d.ts"
},
"include": ["src/**/*.js"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment