From d1bb4f735909172df9bfbd0ed5055acfd8bbf75d Mon Sep 17 00:00:00 2001 From: psnbaotg Date: Mon, 24 Jul 2023 13:19:55 +0800 Subject: [PATCH] Fix TS errors in test files --- tests/tsconfig.json | 5 +++++ tsconfig.json | 1 + 2 files changed, 6 insertions(+) diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 9bb8fdf..c8d9f06 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -13,6 +13,11 @@ "esModuleInterop": true, "moduleResolution": "node" }, + "references": [ + { + "path": ".." + } + ], "include": [ "**/*.ts" ], diff --git a/tsconfig.json b/tsconfig.json index 4af4925..dfb1ed1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ "outDir": "./dist/", "rootDir": "./lib/", "strict": true, + "composite": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "moduleResolution": "node"