Explorar el Código

fix(types/reactivity): error TS4058 caused by `RefSymbol` (#2548)

Lo Leon hace 5 años
padre
commit
90aa835812
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/reactivity/src/ref.ts

+ 1 - 1
packages/reactivity/src/ref.ts

@@ -4,7 +4,7 @@ import { isArray, isObject, hasChanged } from '@vue/shared'
 import { reactive, isProxy, toRaw, isReactive } from './reactive'
 import { reactive, isProxy, toRaw, isReactive } from './reactive'
 import { CollectionTypes } from './collectionHandlers'
 import { CollectionTypes } from './collectionHandlers'
 
 
-declare const RefSymbol: unique symbol
+export declare const RefSymbol: unique symbol
 
 
 export interface Ref<T = any> {
 export interface Ref<T = any> {
   value: T
   value: T