From 91f6bc13c315da572d5c21dc67a370f007491471 Mon Sep 17 00:00:00 2001 From: Weirong Xu Date: Mon, 9 Aug 2021 22:36:45 +0800 Subject: [PATCH] fix: add type declaration --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b83de6f..0ceb52f 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "scripts": { "clean": "rimraf lib", "dev": "node watch.js", - "build:check-type": "tsc --noEmit", + "build:type": "tsc --emitDeclarationOnly", "build:pack": "node build.js", - "build": "run-s build:check-type build:pack", + "build": "run-s build:type build:pack", "prepare": "npm-run-all clean build", "lint": "eslint src --ext js,ts", "unittest": "jest --runInBand --detectOpenHandles --forceExit",