github-desktop/tsconfig.json
Markus Olsson 1e0bfc0883 Explicitly specify paths to type roots
Without this we're getting an error while using ts-node on Windows.

See
https://github.com/TypeStrong/ts-node/issues/168
https://github.com/TypeStrong/atom-typescript/issues/1055

Note that this works around the issue but as far as I understand
things it shouldn't be necessary.
2016-12-08 13:55:14 +01:00

26 lines
628 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "es6",
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"sourceMap": true,
"jsx": "react",
"outDir": "./out",
"types": ["mocha", "whatwg-fetch", "electron-window-state", "chai-datetime"],
"typeRoots": [ "./node_modules/@types", "./app/node_modules/@types" ]
},
"exclude": [
"node_modules",
"app/node_modules",
"dist",
"out"
],
"compileOnSave": false
}