diff --git a/libs/ag-ui/tsconfig.type-tests.json b/libs/ag-ui/tsconfig.type-tests.json index 47e1cd415..1bdf4776a 100644 --- a/libs/ag-ui/tsconfig.type-tests.json +++ b/libs/ag-ui/tsconfig.type-tests.json @@ -2,6 +2,12 @@ "extends": "./tsconfig.lib.json", "compilerOptions": { "noEmit": true, + // This target runs the workspace `tsc` (newer than the build compilers), + // which errors on the inherited baseUrl unless deprecations are ignored. + "ignoreDeprecations": "6.0", + // Type-specs import sibling libraries through tsconfig paths; with noEmit + // the rootDir only has to be wide enough to contain them. + "rootDir": "../..", "strict": true, "strictFunctionTypes": true, "skipLibCheck": true, diff --git a/libs/chat/tsconfig.type-tests.json b/libs/chat/tsconfig.type-tests.json index 68ecd35d2..49ad5fe1d 100644 --- a/libs/chat/tsconfig.type-tests.json +++ b/libs/chat/tsconfig.type-tests.json @@ -3,6 +3,12 @@ "compilerOptions": { "outDir": "../../dist/out-tsc/type-tests", "noEmit": true, + // This target runs the workspace `tsc` (newer than the build compilers), + // which errors on the inherited baseUrl unless deprecations are ignored. + "ignoreDeprecations": "6.0", + // Type-specs import sibling libraries through tsconfig paths; with noEmit + // the rootDir only has to be wide enough to contain them. + "rootDir": "../..", "composite": false, "declarationMap": false, "emitDeclarationOnly": false, diff --git a/libs/langgraph/tsconfig.type-tests.json b/libs/langgraph/tsconfig.type-tests.json index 47e1cd415..1bdf4776a 100644 --- a/libs/langgraph/tsconfig.type-tests.json +++ b/libs/langgraph/tsconfig.type-tests.json @@ -2,6 +2,12 @@ "extends": "./tsconfig.lib.json", "compilerOptions": { "noEmit": true, + // This target runs the workspace `tsc` (newer than the build compilers), + // which errors on the inherited baseUrl unless deprecations are ignored. + "ignoreDeprecations": "6.0", + // Type-specs import sibling libraries through tsconfig paths; with noEmit + // the rootDir only has to be wide enough to contain them. + "rootDir": "../..", "strict": true, "strictFunctionTypes": true, "skipLibCheck": true,