From c63d975dce4fcbdfa56bbc2d12fa0b5e121598cc Mon Sep 17 00:00:00 2001 From: Christofer Flores Date: Tue, 4 Aug 2020 09:33:16 -0500 Subject: [PATCH] Properly add TS declaration file to the npm package --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a50c1c9..90179b6 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "repository": "christo-pr/dangerously-set-html-content", "main": "dist/index.js", "module": "dist/index.es.js", - "types": "index.d.ts", "jsnext:main": "dist/index.es.js", "keywords": [ "reactjs", @@ -65,6 +64,7 @@ "rollup-plugin-url": "^1.4.0" }, "files": [ - "dist" + "dist", + "index.d.ts" ] }