]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove unnecessary enum initial value
authorEvan You <yyx990803@gmail.com>
Mon, 16 Sep 2019 17:15:20 +0000 (13:15 -0400)
committerEvan You <yyx990803@gmail.com>
Mon, 16 Sep 2019 17:15:20 +0000 (13:15 -0400)
packages/runtime-core/src/errorHandling.ts

index 678b0a3d71df00c030850ab0dd517acaf3d843d1..a5c9213e5b98b67aa7775edb929d9e28010c0849 100644 (file)
@@ -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,