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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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