From: Evan You Date: Wed, 4 Sep 2019 17:50:57 +0000 (-0400) Subject: types: errorCaptured can return void X-Git-Tag: v3.0.0-alpha.0~826 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cd33587bae6292e7a911c2a14af1ca308eda9ad;p=thirdparty%2Fvuejs%2Fcore.git types: errorCaptured can return void --- diff --git a/packages/runtime-core/src/apiOptions.ts b/packages/runtime-core/src/apiOptions.ts index bb95f4e2eb..dc3db1a727 100644 --- a/packages/runtime-core/src/apiOptions.ts +++ b/packages/runtime-core/src/apiOptions.ts @@ -74,7 +74,7 @@ export interface LegacyOptions { destroyed?(): void renderTracked?(e: DebuggerEvent): void renderTriggered?(e: DebuggerEvent): void - errorCaptured?(): boolean + errorCaptured?(): boolean | void } export function applyOptions(