]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types/reactivity): error TS4058 caused by `RefSymbol` (#2548)
authorLo Leon <lonelyliar8523@gmail.com>
Mon, 24 May 2021 20:36:08 +0000 (04:36 +0800)
committerGitHub <noreply@github.com>
Mon, 24 May 2021 20:36:08 +0000 (16:36 -0400)
packages/reactivity/src/ref.ts

index 61ad4665275c42b61ddb67d16a7f04e17cf56805..588f3e9908c1c3e7608edc910ea2cbfb8c48284a 100644 (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