-
Notifications
You must be signed in to change notification settings - Fork 144
/
tsconfig.json
20 lines (20 loc) · 887 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
// see https://guide.meteor.com/build-tool.html#typescript for a config example
"compilerOptions": {
"allowSyntheticDefaultImports": true, // to be able to import eg meteor/mongo
"baseUrl": ".", // required by "paths"
"module": "esNext", // required by "preserveValueImports"
"moduleResolution": "node", // required by zodern:types (not documented)
"paths": {
"/*": ["*"], // support absolute /imports/* with a leading '/'
// support Meteor/Atmospehere packages, required by zodern:types
"meteor/*": [
"node_modules/@types/meteor/*",
".meteor/local/types/packages.d.ts"
]
},
"preserveSymlinks": true, // required by zodern:types
"preserveValueImports": true // otherwise TS will remove imported components
},
"exclude": ["./.meteor/**", "./packages/**"] // this may solve VS Code Svelte plugin warnings
}