Explorar o código

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

Marvin Rudolph %!s(int64=4) %!d(string=hai) anos
pai
achega
d56f115f71
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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> {