commit fe035a3008aa6bb9d7940e4f007181a27b32c86f
parent a25092b58675fd744cd2efbeb95e21baaccf84a8
Author: fyears <1142836+fyears@users.noreply.github.com>
Date: Sun, 16 Jan 2022 23:07:19 +0800
add type check (#22)
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
@@ -5,7 +5,7 @@
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
- "build": "node esbuild.config.mjs production"
+ "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production"
},
"keywords": [],
"author": "",
diff --git a/tsconfig.json b/tsconfig.json
@@ -9,6 +9,7 @@
"noImplicitAny": true,
"moduleResolution": "node",
"importHelpers": true,
+ "isolatedModules": true,
"lib": [
"DOM",
"ES5",