diff --git a/backend/__tests__/tsconfig.json b/backend/__tests__/tsconfig.json index 205c5141c..d59fe501e 100644 --- a/backend/__tests__/tsconfig.json +++ b/backend/__tests__/tsconfig.json @@ -18,6 +18,10 @@ "ts-node": { "files": true }, - "files": ["../src/types/types.d.ts", "../../shared-types/types.d.ts"], - "include": ["./**/*.spec.ts", "./setup-tests.ts"] + "files": ["../src/types/types.d.ts"], + "include": [ + "./**/*.spec.ts", + "./setup-tests.ts", + "../../shared-types/**/*.d.ts" + ] } diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 8189ff0e0..3f39693a0 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -22,8 +22,8 @@ "ts-node": { "files": true }, - "files": ["./src/types/types.d.ts", "../shared-types/types.d.ts"], - "include": ["./src/**/*"], + "files": ["./src/types/types.d.ts"], + "include": ["./src/**/*", "../shared-types/**/*.d.ts"], "exclude": [ "node_modules", "build", diff --git a/frontend/__tests__/tsconfig.json b/frontend/__tests__/tsconfig.json index 2a9b8e610..af84e88bc 100644 --- a/frontend/__tests__/tsconfig.json +++ b/frontend/__tests__/tsconfig.json @@ -18,6 +18,10 @@ "ts-node": { "files": true }, - "files": ["../src/ts/types/types.d.ts", "../../shared-types/types.d.ts"], - "include": ["./**/*.spec.ts", "./setup-tests.ts"] + "files": ["../src/ts/types/types.d.ts"], + "include": [ + "./**/*.spec.ts", + "./setup-tests.ts", + "../../shared-types/**/*.d.ts" + ] } diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index eedf40672..721cb7e31 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -35,7 +35,7 @@ "@backend/*": ["../backend/src/*"] } }, - "include": ["./src/**/*.ts"], - "files": ["src/ts/modules.d.ts", "../shared-types/types.d.ts"], + "include": ["./src/**/*.ts", "../shared-types/**/*.d.ts"], + "files": ["src/ts/modules.d.ts"], "exclude": ["node_modules", "build", "setup-tests.ts", "**/*.spec.ts"] }