fix(types): fix forceUpdate type (#4302)
This commit is contained in:
parent
6e5801f8a8
commit
380608bd44
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user