types(runtime-core): update error type to unknown (#798)

This commit is contained in:
hareku
2020-03-10 04:58:52 +09:00
committed by GitHub
parent cb814f646b
commit 257727569a
4 changed files with 13 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ export const onRenderTracked = createHook<DebuggerHook>(
)
export type ErrorCapturedHook = (
err: Error,
err: unknown,
instance: ComponentPublicInstance | null,
info: string
) => boolean | void