fix(types): fix forceUpdate type (#4302)

This commit is contained in:
edison
2021-08-11 22:46:18 +08:00
committed by GitHub
parent 6e5801f8a8
commit 380608bd44

View File

@@ -16,7 +16,6 @@ import {
isFunction
} from '@vue/shared'
import {
ReactiveEffect,
toRaw,
shallowReadonly,
track,
@@ -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,