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

This commit is contained in:
Lo Leon
2021-05-25 04:36:08 +08:00
committed by GitHub
parent a0c57936f8
commit 90aa835812

View File

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