fix ts error

This commit is contained in:
suhai 2022-02-17 09:17:25 +08:00
parent daee091054
commit 914a4b3014
3 changed files with 8 additions and 5 deletions

View File

@ -53,7 +53,7 @@
"react-native": "*",
"ts-jest": "^24.0.2",
"prettier": "^1.18.2",
"typescript": "^3.0.3"
"typescript": "^3.8.0"
},
"peerDependencies": {
"react": "^16.0.0",

View File

@ -1,5 +1,7 @@
import { IDraggableGridProps, DraggableGrid } from './draggable-grid'
export { DraggableGrid, IDraggableGridProps }
export { DraggableGrid }
export type { IDraggableGridProps }
export default DraggableGrid

View File

@ -5815,9 +5815,10 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "http://registry.npm.taobao.org/typedarray/download/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
typescript@^3.0.3:
version "3.0.3"
resolved "http://registry.npm.taobao.org/typescript/download/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"
typescript@^3.8.0:
version "3.9.10"
resolved "https://npm.corp.kuaishou.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha1-cPORCselHta+952ngAaQsZv3eLg=
ua-parser-js@^0.7.18:
version "0.7.18"