DefinitelyTyped/types/svgo/tsconfig.json
Lukas Tetzlaff 49b4d0f80b [svgo] Add namespace to remove ugly require-import (#25172)
* add namespace to remove ugly require import and allow regular es6 import syntax

* set `esModuleInterop` and `allowSyntheticDefaultImports` flags

* Add note which compiler options to set for which TS version

* Move TS compiler Options comments to `readme.md`
2018-04-29 12:54:21 -07:00

25 lines
531 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true
},
"files": [
"index.d.ts",
"svgo-tests.ts"
]
}