Skip to content

Commit

Permalink
fix(types): fix forceUpdate type (#4302)
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 authored Aug 11, 2021
1 parent 6e5801f commit 380608b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runtime-core/src/componentPublicInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
isFunction
} from '@vue/shared'
import {
ReactiveEffect,
toRaw,
shallowReadonly,
track,
Expand Down Expand Up @@ -192,7 +191,7 @@ export type ComponentPublicInstance<
$emit: EmitFn<E>
$el: any
$options: Options & MergedComponentOptionsOverride
$forceUpdate: ReactiveEffect
$forceUpdate: () => void
$nextTick: typeof nextTick
$watch(
source: string | Function,
Expand Down

0 comments on commit 380608b

Please sign in to comment.