egjs-grid icon indicating copy to clipboard operation
egjs-grid copied to clipboard

TypeError TS2322: is missing the following properties from type - Vue 3 - TypeScript

Open anguiano opened this issue 2 years ago • 1 comments

Description

TypeError when run 'type check' command

error TS2322: Type '{ gap: number; defaultDirection: string; columnRange: number[]; rowRange: number; sizeRange: number[]; isCroppedSize: boolean; displayedRow: number; autoResize: true; class: string; }' is not assignable to type 'ComponentProps<VueGridInterface<typeof JustifiedGrid>>'.
  Type '{ gap: number; defaultDirection: string; columnRange: number[]; rowRange: number; sizeRange: number[]; isCroppedSize: boolean; displayedRow: number; autoResize: true; class: string; }' is missing the following properties from type 'VueGridInterface<typeof JustifiedGrid>': $el, $_grid, $props, syncElements, and 6 more.

76     <JustifiedGrid


Steps to check or reproduce

"@egjs/vue-grid": "^1.11.2",
"vue": "^3.2.45"
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vue-tsc": "^1.0.24"

anguiano avatar Jan 24 '23 00:01 anguiano

@anguiano

I check it. I am going to create vue3-grid. wait a munite.

daybrush avatar Jan 27 '23 02:01 daybrush