From f4af8beadf8f166dababa21c25295930ed14ec09 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Tue, 13 Feb 2024 00:58:46 +0800 Subject: [PATCH] chore: fix semver types --- tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 18da86fb..0f0b74e2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,9 @@ "allowSyntheticDefaultImports": true, "lib": ["esnext"], "sourceMap": true, - "typeRoots": ["./node_modules/typings"] + "typeRoots": ["./node_modules/typings"], + "paths": { + "semver": ["./node_modules/typings/semver/index.d.ts"] + } } }