Skip to content

Commit

Permalink
feat(runtime-core): export ErrorTypes to can be used with callWithE…
Browse files Browse the repository at this point in the history
…rrorHandling

fix vuejs#833
  • Loading branch information
underfin committed Mar 15, 2020
1 parent 60ed4e7 commit c72f793
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/runtime-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export {
resolveTransitionHooks,
setTransitionHooks
} from './components/BaseTransition'
// export errorTypes to can be used with callWithErrorHandling
export { LifecycleHooks } from './component'
export { ErrorCodes } from './errorHandling'

// For compiler generated code
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
Expand Down

0 comments on commit c72f793

Please sign in to comment.