diff options
| author | fyears <[email protected]> | 2022-01-16 23:07:19 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-16 10:07:19 -0500 |
| commit | fe035a3008aa6bb9d7940e4f007181a27b32c86f (patch) | |
| tree | b7616ba3926cf767edd85b4eaca99abbd661ff5f | |
| parent | a25092b58675fd744cd2efbeb95e21baaccf84a8 (diff) | |
| download | ai-pulse-obsidian-plugin-fe035a3008aa6bb9d7940e4f007181a27b32c86f.tar.gz ai-pulse-obsidian-plugin-fe035a3008aa6bb9d7940e4f007181a27b32c86f.zip | |
add type check (#22)
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | tsconfig.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 11071f9..67edd6c 100644 --- 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 index b61f304..b50f455 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true,
"moduleResolution": "node",
"importHelpers": true,
+ "isolatedModules": true,
"lib": [
"DOM",
"ES5",
|
