Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anguiano opened this issue Jan 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@anguiano
Copy link

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 anguiano changed the title TypeError TS2322 - Vue 3 - TypeScript TypeError TS2322: is missing the following properties from type - Vue 3 - TypeScript Jan 24, 2023
@daybrush
Copy link
Member

@anguiano

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

@daybrush daybrush added the bug Something isn't working label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants