$ npm run start
Debugger attached.
> [email protected] start /workspace/Abdallah-khalil_Books-Library-API
> nodemon --watch ./src --exec ts-node ./src/index.ts
Debugger attached.
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): src/**/*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node ./src/index.ts`
Debugger attached.
Debugger attached.
/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:307
throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
^
TSError: ⨯ Unable to compile TypeScript
src/book/getBook.middleware.ts (18,49): Property 'params' does not exist on type 'CustomRequest'. (2339)
at getOutput (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:307:15)
at /workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:336:16
at Object.compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:498:11)
at Module.m._compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:392:43)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:395:12)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.<anonymous> (/workspace/Abdallah-khalil_Books-Library-API/src/book/book.module.ts:6:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module.m._compile (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:392:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (/workspace/Abdallah-khalil_Books-Library-API/node_modules/ts-node/src/index.ts:395:12)
at Module.load (internal/modules/cjs/loader.js:950:32)
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...
[nodemon] app crashed - waiting for file changes before starting...
Thanks in advance to everyone who can contribute.