You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/tsconfig.json

35 lines
769 B

{
"include": ["src/**/*"],
"compilerOptions": {
"rootDir": "src",
// target node v8+ (https://node.green/)
// the only missing feature is Array.prototype.values
"lib": ["es2017", "DOM", "DOM.Iterable"],
"target": "es2017",
"declaration": true,
"declarationDir": "types",
"noEmitOnError": true,
"noErrorTruncation": true,
// rollup takes care of these
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
// Hides exports flagged with @internal from the d.ts output
"stripInternal": true,
// TODO: error all the things
//"strict": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"typeRoots": ["./node_modules/@types"]
}
}