forked from fabiomughilan/workverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 820 Bytes
/
Copy pathtsconfig.json
File metadata and controls
24 lines (24 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
/*
Root configuration for the server and the shared types.
Tooling that looks for a tsconfig at the repository root - vitest and esbuild among
them - needs to find the decorator settings here, otherwise the @type() decorators in
the Colyseus schema are parsed with modern decorator semantics and fail outright.
*/
"compilerOptions": {
"target": "ES2022",
"module": "commonjs",
"moduleResolution": "node",
"lib": ["ES2022"],
"strict": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"useDefineForClassFields": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"noEmit": true
},
"include": ["server/**/*.ts", "types/**/*.ts"],
"exclude": ["node_modules", "client", "server/lib"]
}