Просмотр исходного кода

chore(reactivity): fix typo in types (#4889)

Marvin Rudolph 4 лет назад
Родитель
Сommit
d56f115f71
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/reactivity/src/computed.ts

+ 2 - 2
packages/reactivity/src/computed.ts

@@ -4,11 +4,11 @@ import { isFunction, NOOP } from '@vue/shared'
 import { ReactiveFlags, toRaw } from './reactive'
 import { Dep } from './dep'
 
-declare const ComoutedRefSymbol: unique symbol
+declare const ComputedRefSymbol: unique symbol
 
 export interface ComputedRef<T = any> extends WritableComputedRef<T> {
   readonly value: T
-  [ComoutedRefSymbol]: true
+  [ComputedRefSymbol]: true
 }
 
 export interface WritableComputedRef<T> extends Ref<T> {