tsconfig: Add shared reference

This commit is contained in:
Reto Brunner 2023-01-29 15:54:24 +01:00
parent e1ae79cb9c
commit 21d1eea6b8

View File

@ -6,12 +6,9 @@
] /* If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. When a 'files' property is specified, only those files and those specified by 'include' are included. */, ] /* If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. When a 'files' property is specified, only those files and those specified by 'include' are included. */,
// "exclude": [], // "exclude": [],
"references": [ "references": [
{ {"path": "./client"},
"path": "./client" /* Path to referenced tsconfig or to folder containing tsconfig. */ {"path": "./server"},
}, {"path": "./shared"}
{
"path": "./server" /* Path to referenced tsconfig or to folder containing tsconfig. */
}
] /* Referenced projects. Requires TypeScript version 3.0 or later. */, ] /* Referenced projects. Requires TypeScript version 3.0 or later. */,
"compilerOptions": { "compilerOptions": {
// TODO: Remove eventually // TODO: Remove eventually