chore(reactivity): fix typo in types (#4889)
This commit is contained in:
parent
fe853a5a40
commit
d56f115f71
@ -4,11 +4,11 @@ import { isFunction, NOOP } from '@vue/shared'
|
|||||||
import { ReactiveFlags, toRaw } from './reactive'
|
import { ReactiveFlags, toRaw } from './reactive'
|
||||||
import { Dep } from './dep'
|
import { Dep } from './dep'
|
||||||
|
|
||||||
declare const ComoutedRefSymbol: unique symbol
|
declare const ComputedRefSymbol: unique symbol
|
||||||
|
|
||||||
export interface ComputedRef<T = any> extends WritableComputedRef<T> {
|
export interface ComputedRef<T = any> extends WritableComputedRef<T> {
|
||||||
readonly value: T
|
readonly value: T
|
||||||
[ComoutedRefSymbol]: true
|
[ComputedRefSymbol]: true
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface WritableComputedRef<T> extends Ref<T> {
|
export interface WritableComputedRef<T> extends Ref<T> {
|
||||||
|
Loading…
Reference in New Issue
Block a user