Browse Source

🔧 update typescript definites of third libs

pull/18977/head
afc163 5 years ago
parent
commit
acbd1a9d28
  1. 3
      package.json
  2. 24
      typings/custom-typings.d.ts

3
package.json

@ -147,9 +147,12 @@
"@sentry/browser": "^5.4.0",
"@types/classnames": "^2.2.8",
"@types/gtag.js": "^0.0.3",
"@types/lodash": "^4.14.139",
"@types/prop-types": "^15.7.1",
"@types/raf": "^3.4.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.8.4",
"@types/shallowequal": "^1.1.1",
"@types/warning": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",

24
typings/custom-typings.d.ts

@ -4,7 +4,7 @@ declare module 'rc-calendar*';
declare module 'rc-time-picker*';
declare module 'rc-pagination*';
declare module 'rc-pagination/*';
declare module 'omit.js';
@ -12,16 +12,12 @@ declare module 'rc-animate';
declare module 'rc-util*';
declare module 'shallowequal';
declare module 'css-animation*';
declare module 'rc-select';
declare module 'rc-cascader';
declare module 'array-tree-filter';
declare module 'rc-checkbox';
declare module 'rc-radio';
@ -47,7 +43,7 @@ declare module 'rc-calendar';
declare module 'rc-input-number';
declare module 'rc-pagination';
declare module 'rc-collapse';
declare module 'rc-notification';
@ -75,8 +71,6 @@ declare module 'rc-tree-select';
declare module 'rc-upload';
declare module 'rc-collapse';
declare module 'rc-form*';
declare module 'react-lazy-load';
@ -89,20 +83,6 @@ declare module '*.json' {
export default value;
}
declare module 'lodash/debounce';
declare module 'lodash/padStart';
declare module 'lodash/padEnd';
declare module 'lodash/repeat';
declare module 'lodash/uniqBy';
declare module 'lodash/findIndex';
declare module 'raf';
declare module 'react-lifecycles-compat';
declare module 'react-copy-to-clipboard';

Loading…
Cancel
Save