From: Lo Leon Date: Mon, 24 May 2021 20:36:08 +0000 (+0800) Subject: fix(types/reactivity): error TS4058 caused by `RefSymbol` (#2548) X-Git-Tag: v3.1.0-beta.4~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90aa8358129f25826bfc4c234325c1442aef8d55;p=thirdparty%2Fvuejs%2Fcore.git fix(types/reactivity): error TS4058 caused by `RefSymbol` (#2548) --- diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index 61ad466527..588f3e9908 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -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 { value: T