瀏覽代碼

support new config

chenshuai2144 4 年之前
父節點
當前提交
d19675859a
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 5 0
      src/typings.d.ts
  2. 1 0
      tsconfig.json

+ 5 - 0
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 = {

+ 1 - 0
tsconfig.json

@@ -7,6 +7,7 @@
     "sourceMap": true,
     "baseUrl": ".",
     "jsx": "react-jsx",
+    "resolveJsonModule": true,
     "allowSyntheticDefaultImports": true,
     "moduleResolution": "node",
     "forceConsistentCasingInFileNames": true,