From 2d9bc620abaa0fee0d6cda9bccc40cb3030a4fa4 Mon Sep 17 00:00:00 2001 From: duxiaodong Date: Wed, 3 Apr 2019 15:42:56 +0800 Subject: [PATCH] fix: no code generate --- package.json | 1 + tsconfig.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 96fa830..c4800b1 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "license": "MIT", "main": "./lib/index", "module": "./es/index", + "types": "./lib/index.d.ts", "config": { "port": 8899 }, diff --git a/tsconfig.json b/tsconfig.json index a392b99..1ef10d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,6 @@ "target": "es6", "noImplicitAny": false, "noUnusedLocals": true, - "noEmit": true, "baseUrl": "src" } }