]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
refactor(types): use pure type symbol
authorEvan You <yyx990803@gmail.com>
Mon, 4 May 2020 13:37:24 +0000 (09:37 -0400)
committerEvan You <yyx990803@gmail.com>
Mon, 4 May 2020 13:38:32 +0000 (09:38 -0400)
packages/reactivity/src/ref.ts

index dc446974ae567129bd161355aa3d598d49f52b38..d22e6a0e9694a5bd606256e5c0ee1f2f76f79a7c 100644 (file)
@@ -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<T = any> {
   /**