Skip to content

Commit

Permalink
chore: fix compile fail when use cnpm installed
Browse files Browse the repository at this point in the history
  • Loading branch information
shaodahong authored and afc163 committed Oct 18, 2019
1 parent 40aca57 commit b280b63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions typings/custom-typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit b280b63

Please sign in to comment.