From 1fb2185d7d7a8ce8cadead064a25b2eff5ff0306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=AF=E4=B8=80?= Date: Thu, 26 Jul 2018 18:53:45 +0800 Subject: [PATCH] fix: lint and d.ts --- src/components/Charts/bizcharts.d.ts | 3 +++ src/components/Charts/bizcharts.js | 1 + 2 files changed, 4 insertions(+) create mode 100644 src/components/Charts/bizcharts.d.ts diff --git a/src/components/Charts/bizcharts.d.ts b/src/components/Charts/bizcharts.d.ts new file mode 100644 index 00000000..0815ffee --- /dev/null +++ b/src/components/Charts/bizcharts.d.ts @@ -0,0 +1,3 @@ +import * as BizChart from 'bizcharts'; + +export = BizChart; diff --git a/src/components/Charts/bizcharts.js b/src/components/Charts/bizcharts.js index 320bac80..e08db8d6 100644 --- a/src/components/Charts/bizcharts.js +++ b/src/components/Charts/bizcharts.js @@ -1,2 +1,3 @@ import * as BizChart from 'bizcharts'; + export default BizChart; -- GitLab