0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/tsconfig.json

35 lines
736 B
JSON
Raw Normal View History

2017-05-07 01:43:33 +02:00
{
2019-06-13 08:11:52 +02:00
"include": [],
2019-05-22 07:31:39 +02:00
"compilerOptions": {
2019-06-13 08:11:52 +02:00
"rootDir": "src",
// target node v8+ (https://node.green/)
// the only missing feature is Array.prototype.values
"lib": ["es2017"],
"target": "es2017",
2019-05-22 07:31:39 +02:00
"declaration": true,
2019-05-27 21:36:02 +02:00
"declarationDir": "types",
2019-06-13 08:11:52 +02:00
2019-05-22 07:31:39 +02:00
"noEmitOnError": true,
2019-06-13 08:11:52 +02:00
"noErrorTruncation": true,
// rollup takes care of these
"module": "esnext",
2019-05-22 07:31:39 +02:00
"moduleResolution": "node",
2019-06-13 08:11:52 +02:00
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
// Hides exports flagged with @internal from the d.ts output
"stripInternal": true,
2019-06-13 08:11:52 +02:00
// TODO: error all the things
//"strict": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"typeRoots": ["./node_modules/@types"]
2019-06-13 08:11:52 +02:00
}
2017-05-26 12:24:56 +02:00
}