From: Evan You Date: Mon, 4 May 2020 13:37:24 +0000 (-0400) Subject: refactor(types): use pure type symbol X-Git-Tag: v3.0.0-beta.8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6217b4d46cbd3d9e250f2f84de4846d3484c42d;p=thirdparty%2Fvuejs%2Fcore.git refactor(types): use pure type symbol --- diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index dc446974ae..d22e6a0e96 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -5,7 +5,7 @@ import { reactive, isProxy, toRaw } from './reactive' import { ComputedRef } from './computed' import { CollectionTypes } from './collectionHandlers' -const RefSymbol = Symbol() +declare const RefSymbol: unique symbol export interface Ref { /**