diff --git a/src/client_scripts/jsconfig.json b/src/client_scripts/jsconfig.json index 9d62c1e..0bded0f 100644 --- a/src/client_scripts/jsconfig.json +++ b/src/client_scripts/jsconfig.json @@ -1,11 +1,19 @@ { "$schema": "https://www.schemastore.org/jsconfig.json", "extends": "../../jsconfig.json", - "compilerOptions": {}, - "include": [ - "./**/*", - "../../types/*.d.ts", - "../../types/probe/shared/*.d.ts", - "../../types/probe/client/**/*.d.ts" - ] + "compilerOptions": { + "types": [ + "../../types/probe/client/packages", + "../../types/probe/client/global", + "../../types/probe/shared" + ], + "paths": { + "packages/*": [ + "../../types/probe/client/packages/*", + "../../types/probe/shared/*" + ] + } + }, + "include": ["./**/*.js", "../../types/*.d.ts"], + "exclude": [] } diff --git a/src/server_scripts/jsconfig.json b/src/server_scripts/jsconfig.json index 4e6236b..c241bc3 100644 --- a/src/server_scripts/jsconfig.json +++ b/src/server_scripts/jsconfig.json @@ -1,10 +1,19 @@ { "$schema": "https://www.schemastore.org/jsconfig.json", "extends": "../../jsconfig.json", - "include": [ - "./**/*", - "../../types/*.d.ts", - "../../types/probe/shared/*.d.ts", - "../../types/probe/server/**/*.d.ts" - ] + "compilerOptions": { + "types": [ + "../../types/probe/server/packages", + "../../types/probe/server/global", + "../../types/probe/shared" + ], + "paths": { + "packages/*": [ + "../../types/probe/server/packages/*", + "../../types/probe/shared/*" + ] + } + }, + "include": ["./**/*.js", "../../types/*.d.ts"], + "exclude": [] } diff --git a/src/startup_scripts/jsconfig.json b/src/startup_scripts/jsconfig.json index 009f5f9..9a94896 100644 --- a/src/startup_scripts/jsconfig.json +++ b/src/startup_scripts/jsconfig.json @@ -2,7 +2,11 @@ "$schema": "https://www.schemastore.org/jsconfig.json", "extends": "../../jsconfig.json", "compilerOptions": { - "typeRoots": ["../../types/probe/startup/"], + "types": [ + "../../types/probe/startup/packages", + "../../types/probe/startup/global", + "../../types/probe/shared" + ], "paths": { "packages/*": [ "../../types/probe/startup/packages/*", @@ -10,11 +14,6 @@ ] } }, - "include": ["./**/*", "../../types/*.d.ts", "../../types/probe/**/*.d.ts"], - "exclude": [ - "../../types/probe/client/global/*.d.ts", - "../../types/probe/server/global/*.d.ts", - "../../types/probe/client/**/*.d.ts", - "../../types/probe/server/**/*.d.ts" - ] + "include": ["./**/*.js", "../../types/*.d.ts"], + "exclude": [] }