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 isFunction
} from '@vue/shared' } from '@vue/shared'
import { import {
ReactiveEffect,
toRaw, toRaw,
shallowReadonly, shallowReadonly,
track, track,
@@ -192,7 +191,7 @@ export type ComponentPublicInstance<
$emit: EmitFn<E> $emit: EmitFn<E>
$el: any $el: any
$options: Options & MergedComponentOptionsOverride $options: Options & MergedComponentOptionsOverride
$forceUpdate: ReactiveEffect $forceUpdate: () => void
$nextTick: typeof nextTick $nextTick: typeof nextTick
$watch( $watch(
source: string | Function, source: string | Function,