Server code in typescript.

This commit is contained in:
John Livingston
2021-04-07 16:52:38 +02:00
parent dca4e67b35
commit 8b11c10e32
4 changed files with 143 additions and 10 deletions

27
server/tsconfig.json Normal file
View File

@ -0,0 +1,27 @@
{
"extends": "@tsconfig/node12/tsconfig.json",
"compilerOptions": {
"moduleResolution": "node", // Tell tsc to look in node_modules for modules
"strict": true, // That implies alwaysStrict, noImplicitAny, noImplicitThis
"alwaysStrict": true, // should already be true because of strict:true
"noImplicitAny": true, // should already be true because of strict:true
"noImplicitThis": true, // should already be true because of strict:true
"noImplicitReturns": true,
"strictBindCallApply": true, // should already be true because of strict:true
"noUnusedLocals": true,
"removeComments": true,
"sourceMap": true,
// "composite": true,
// "declaration": true,
// "tsBuildInfoFile": "./dist/server/main.tsbuildinfo",
// "rootDir": "server",
"outDir": "../dist/server",
// "baseUrl": "./server/",
"paths": {},
},
"include": ["./**/*"],
"exclude": []
}