From: Evan You Date: Mon, 16 Sep 2019 17:15:20 +0000 (-0400) Subject: chore: remove unnecessary enum initial value X-Git-Tag: v3.0.0-alpha.0~765 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54a78f3856e484a446480445b2bcc0409bf8ba6f;p=thirdparty%2Fvuejs%2Fcore.git chore: remove unnecessary enum initial value --- diff --git a/packages/runtime-core/src/errorHandling.ts b/packages/runtime-core/src/errorHandling.ts index 678b0a3d71..a5c9213e5b 100644 --- a/packages/runtime-core/src/errorHandling.ts +++ b/packages/runtime-core/src/errorHandling.ts @@ -5,7 +5,7 @@ import { warn, pushWarningContext, popWarningContext } from './warning' // contexts where user provided function may be executed, in addition to // lifecycle hooks. export const enum ErrorCodes { - SETUP_FUNCTION = 1, + SETUP_FUNCTION, RENDER_FUNCTION, WATCH_GETTER, WATCH_CALLBACK,