]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: use '' instead of undefined (#205)
authorChester <291164091@qq.com>
Sat, 12 Oct 2019 02:04:33 +0000 (10:04 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 12 Oct 2019 02:04:33 +0000 (22:04 -0400)
packages/reactivity/src/ref.ts

index 5aac9272bfb4f353e801645e5d1ae8ad9cae95c4..3616799e3643dd02db13542b42f49226c8bbaa36 100644 (file)
@@ -3,7 +3,7 @@ import { OperationTypes } from './operations'
 import { isObject } from '@vue/shared'
 import { reactive } from './reactive'
 
-export const refSymbol = Symbol(__DEV__ ? 'refSymbol' : undefined)
+export const refSymbol = Symbol(__DEV__ ? 'refSymbol' : '')
 
 export interface Ref<T = any> {
   [refSymbol]: true