Browse Source

Fix tsconfigs

develop
Alex Mikhalev 6 years ago
parent
commit
ac27c0a9ec
  1. 1
      client/tsconfig.json
  2. 3
      common/tsconfig.json
  3. 3
      server/tsconfig.json
  4. 16
      tsconfig.json

1
client/tsconfig.json

@ -27,6 +27,7 @@
"./client/**/*.ts", "./client/**/*.ts",
"./client/**/*.tsx" "./client/**/*.tsx"
], ],
"exclude": [],
"references": [{ "references": [{
"path": "../common" "path": "../common"
}] }]

3
common/tsconfig.json

@ -15,5 +15,6 @@
}, },
"include": [ "include": [
"./**/*.ts", "./**/*.ts",
] ],
"exclude": []
} }

3
server/tsconfig.json

@ -21,5 +21,6 @@
}], }],
"include": [ "include": [
"./**/*.ts" "./**/*.ts"
] ],
"exclude": []
} }

16
tsconfig.json

@ -9,6 +9,20 @@
"types": [ "types": [
"node" "node"
], ],
"strict": true "strict": true,
"baseUrl": ".",
"paths": {
"@common/*": [
"./common/*"
],
"@client/*": [
"./client/*"
]
} }
},
"exclude": [
"./client",
"./common",
"./server"
]
} }
Loading…
Cancel
Save