From a4aa447d3abbe1e28e1a5056c343e62b59c91ec6 Mon Sep 17 00:00:00 2001 From: woothu <32914662+woothu@users.noreply.github.com> Date: Mon, 1 Jun 2020 12:12:48 +0200 Subject: [PATCH] fix: add main package typings --- js/index.d.ts | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 js/index.d.ts diff --git a/js/index.d.ts b/js/index.d.ts new file mode 100644 index 000000000..96a0edbe3 --- /dev/null +++ b/js/index.d.ts @@ -0,0 +1,3 @@ +export * from './free/index' +export * from './flag/index' +export * from './brand/index' \ No newline at end of file diff --git a/package.json b/package.json index 7ff4f836f..d031fdcb8 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "js/index.js", "style": "css/all.css", "sideEffects": false, + "typings": "js/index.d.ts", "scripts": { "clean": "rimraf css", "css": "npm-run-all --parallel css-compile* --sequential css-prefix css-concat css-minify*",