From d3e6836fa37254925c941e583fb4bba4c8bc49fa Mon Sep 17 00:00:00 2001 From: Quorafind Date: Sun, 29 Nov 2026 01:28:42 +0800 Subject: [PATCH] build(tsconfig): only load node and jest as implicit type libraries A clean pnpm install hoists the deprecated @types/parse-path stub (pulled in by release-it). TypeScript loads every @types package implicitly, so tsc failed with TS2688 in Obsidian's build verification. List the implicit type libraries the project uses. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index b4477f72..26bbf1bc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,8 @@ "isolatedModules": true, "strictNullChecks": true, "lib": ["DOM", "ES5", "ES6", "ES7"], - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "types": ["node", "jest"] }, "include": ["src/**/*.ts", "src/**/*.tsx", "src/utils/workers/**/*.ts"] }