question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

after update to 0.32.1, component event has payload type error

See original GitHub issue

vue 2.6 volar update to 0.32.1 ts 4.5.5 I use elementui select component. it has change event , has payload error after volar update to 0.32.1; (property) 'change': ((payload: Event) => void) | undefined Type '(item: any[]) => Promise<void>' is not assignable to type '(payload: Event) => void'. Types of parameters 'item' and 'payload' are incompatible. image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
johnsoncodehkcommented, Mar 8, 2022

@barfurth please use 0.32.0 for now. I’m working on #1009 currently, this pr change all server code so I can’t resolve other problem before merge it.

1reaction
NikhilVermacommented, Mar 2, 2022

@johnsoncodehk I have a minimal reproduction here - https://github.com/NikhilVerma/vue-tsc-issue

My event emits a number, but the event prop is hardcoded to be Event as a payload.

image
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap's toggle button group not calling onChange event in ...
I am trying to make use of bootstrap's toggle button group to select an option of platform. But the onChange event is not...
Read more >
monaco-editor - UNPKG
70, * that are registered after cancellation will be called (next event loop ... 79, * This class is a simple parser which...
Read more >
finagle/finch - Gitter
Hey all! I am currently using the multipart fileupload, however, I've run into some issues where large files aren't uploadable if the server...
Read more >
Telegraf 1.24 release notes - InfluxData Documentation
Clear error message when provided configuration is not a text file. ... Update github.com/prometheus/common from 0.31.1 to 0.32.1.
Read more >
Common Build Problems - Travis CI Docs
After figuring out which dependency was updated, lock it to the last known ... Sometimes, you'll see a build script causing an error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found