Skip to content

Commit 380608b

Browse files
authored
fix(types): fix forceUpdate type (#4302)
1 parent 6e5801f commit 380608b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime-core/src/componentPublicInstance.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
isFunction
1717
} from '@vue/shared'
1818
import {
19-
ReactiveEffect,
2019
toRaw,
2120
shallowReadonly,
2221
track,
@@ -192,7 +191,7 @@ export type ComponentPublicInstance<
192191
$emit: EmitFn<E>
193192
$el: any
194193
$options: Options & MergedComponentOptionsOverride
195-
$forceUpdate: ReactiveEffect
194+
$forceUpdate: () => void
196195
$nextTick: typeof nextTick
197196
$watch(
198197
source: string | Function,

0 commit comments

Comments
 (0)