From 5241a6e9884a1e794ee1b5d85b12ca37628efd8c Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth <git@tilmanvatteroth.de> Date: Sat, 26 Apr 2025 12:21:10 +0200 Subject: [PATCH] build(commons): fix search for types Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> --- commons/tsconfig.base.json | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/commons/tsconfig.base.json b/commons/tsconfig.base.json index 420221e05..d5f714ecc 100644 --- a/commons/tsconfig.base.json +++ b/commons/tsconfig.base.json @@ -12,10 +12,23 @@ "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "allowJs": true, - "declarationMap":true, + "declarationMap": true, "sourceMap": true, - "typeRoots": ["./types"] + "typeRoots": [ + "../node_modules/@types", + "./types" + ], + "types": [ + "node" + ] }, - "include": ["./src", "./types"], - "exclude": ["./dist", "**/*.test.ts", "**/*.spec.ts"] + "include": [ + "./src", + "./types" + ], + "exclude": [ + "./dist", + "**/*.test.ts", + "**/*.spec.ts" + ] }