chore: replace some type casts and fix variable and filename typos (#93)

This commit is contained in:
Carlos Rodrigues
2019-10-05 15:38:02 +01:00
committed by Evan You
parent 23ff681418
commit fbabae0c0a
10 changed files with 51 additions and 51 deletions

View File

@@ -86,7 +86,7 @@ export function handleError(
) {
const contextVNode = instance ? instance.vnode : null
if (instance) {
let cur: ComponentInternalInstance | null = instance.parent
let cur = instance.parent
// the exposed instance is the render proxy to keep it consistent with 2.x
const exposedInstance = instance.renderProxy
// in production the hook receives only the error code