From 902a7847b194969206e1a0399e5518e7d695d35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Fri, 4 Aug 2023 16:42:34 +0800 Subject: [PATCH] build: add ts incremental compilation js type checking seems to be slower than ts. :) --- .gitignore | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 171c28f..9fe5f39 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ npm-debug.log *.iml .cache .sublimelinterrc +tsconfig.tsbuildinfo diff --git a/tsconfig.json b/tsconfig.json index 7d651e9..84dfe98 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,8 @@ "allowJs": true, "checkJs": true, "declaration": true, - "noEmit": true + "noEmit": true, + "incremental": true }, "include": ["lib/", "tests/index.spec.js"] }