From c6f819e68f3f0d45f1f584a3faa9943bfd386f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82adys=C5=82aw=20Czy=C5=BCewski?= Date: Wed, 26 Nov 2025 09:48:45 +0100 Subject: [PATCH 1/3] build: add typeRoots to tsconfig as fix for possible conflicts with other types in repositories with this repo as submodule --- nodejs/tsconfig.base.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodejs/tsconfig.base.json b/nodejs/tsconfig.base.json index 7309be296f..4f35509190 100644 --- a/nodejs/tsconfig.base.json +++ b/nodejs/tsconfig.base.json @@ -17,7 +17,10 @@ "strictNullChecks": true, "target": "es2022", "incremental": true, - "newLine": "LF" + "newLine": "LF", + "typeRoots": [ + "./node_modules/@types" + ] }, "exclude": [ "node_modules" From ff97b47d68895cf50eedba2ee1583e91ad910a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82adys=C5=82aw=20Czy=C5=BCewski?= Date: Wed, 26 Nov 2025 09:56:36 +0100 Subject: [PATCH 2/3] build: add typeRoots to tsconfig.esm.json --- nodejs/tsconfig.esm.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodejs/tsconfig.esm.json b/nodejs/tsconfig.esm.json index a1115cabe4..355ad17647 100644 --- a/nodejs/tsconfig.esm.json +++ b/nodejs/tsconfig.esm.json @@ -18,7 +18,10 @@ "strict": true, "strictNullChecks": true, "incremental": true, - "newLine": "LF" + "newLine": "LF", + "typeRoots": [ + "./node_modules/@types" + ] }, "exclude": [ "node_modules" From 9cf976b9473ccb38fa77dd7c9f81cb8f12be2402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82adys=C5=82aw=20Czy=C5=BCewski?= Date: Wed, 26 Nov 2025 10:00:08 +0100 Subject: [PATCH 3/3] build: set type roots for nodejs wrapper --- nodejs/tsconfig.base.json | 2 +- nodejs/tsconfig.esm.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs/tsconfig.base.json b/nodejs/tsconfig.base.json index 4f35509190..e51f055529 100644 --- a/nodejs/tsconfig.base.json +++ b/nodejs/tsconfig.base.json @@ -19,7 +19,7 @@ "incremental": true, "newLine": "LF", "typeRoots": [ - "./node_modules/@types" + "node_modules/@types" ] }, "exclude": [ diff --git a/nodejs/tsconfig.esm.json b/nodejs/tsconfig.esm.json index 355ad17647..cdf92d4972 100644 --- a/nodejs/tsconfig.esm.json +++ b/nodejs/tsconfig.esm.json @@ -20,7 +20,7 @@ "incremental": true, "newLine": "LF", "typeRoots": [ - "./node_modules/@types" + "node_modules/@types" ] }, "exclude": [