From d19675859aa3875215bd2f808dff5aac89f6d698 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Wed, 24 Feb 2021 16:09:08 +0800 Subject: [PATCH] support new config --- src/typings.d.ts | 5 +++++ tsconfig.json | 1 + 2 files changed, 6 insertions(+) diff --git a/src/typings.d.ts b/src/typings.d.ts index 70a4220f..7fcfaf28 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -11,6 +11,11 @@ declare module '*.gif'; declare module '*.bmp'; declare module '*.tiff'; declare module 'omit.js'; +declare module 'numeral'; +declare module '@antv/data-set'; +declare module 'mockjs'; +declare module 'react-fittext'; +declare module 'bizcharts-plugin-slider'; // google analytics interface type GAFieldsObject = { diff --git a/tsconfig.json b/tsconfig.json index 186a435d..90a06413 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "sourceMap": true, "baseUrl": ".", "jsx": "react-jsx", + "resolveJsonModule": true, "allowSyntheticDefaultImports": true, "moduleResolution": "node", "forceConsistentCasingInFileNames": true,