diff --git a/package.json b/package.json index 9f2fc9fa10..d766f714f6 100644 --- a/package.json +++ b/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", diff --git a/typings/custom-typings.d.ts b/typings/custom-typings.d.ts index c1386acd1f..2c4890a49f 100644 --- a/typings/custom-typings.d.ts +++ b/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';