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

types(runtime-core): improve forceUpdate type #4302

Merged
merged 3 commits into from
Aug 11, 2021

Conversation

edison1105
Copy link
Member

close #4297

@@ -192,7 +191,7 @@ export type ComponentPublicInstance<
$emit: EmitFn<E>
$el: any
$options: Options & MergedComponentOptionsOverride
$forceUpdate: ReactiveEffect
$forceUpdate: () => void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the public type and it doesn't take any arguments / return anything

@yyx990803 yyx990803 merged commit 380608b into vuejs:master Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$forceUpdate is not callable
3 participants