From: Chester <291164091@qq.com> Date: Sat, 12 Oct 2019 02:04:33 +0000 (+0800) Subject: chore: use '' instead of undefined (#205) X-Git-Tag: v3.0.0-alpha.0~480 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e68321eac0233a1e45d3169611b9091eec83410f;p=thirdparty%2Fvuejs%2Fcore.git chore: use '' instead of undefined (#205) --- diff --git a/packages/reactivity/src/ref.ts b/packages/reactivity/src/ref.ts index 5aac9272bf..3616799e36 100644 --- a/packages/reactivity/src/ref.ts +++ b/packages/reactivity/src/ref.ts @@ -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 { [refSymbol]: true