Browse Source

chore: fix compile fail when use cnpm installed

pull/19290/head
shao 5 years ago
committed by 偏右
parent
commit
b280b633aa
  1. 1
      package.json
  2. 3
      typings/custom-typings.d.ts

1
package.json

@ -153,7 +153,6 @@
"@types/raf": "^3.4.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.8.4",
"@types/react-lifecycles-compat": "^3.0.1",
"@types/shallowequal": "^1.1.1",
"@types/warning": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",

3
typings/custom-typings.d.ts

@ -76,3 +76,6 @@ declare module '*.json' {
}
declare module 'react-copy-to-clipboard';
// https://github.com/ant-design/ant-design/pull/19254
declare module 'react-lifecycles-compat';

Loading…
Cancel
Save