refactor: events -> eventEmitter

This commit is contained in:
Evan You 2018-10-17 10:52:08 -04:00
parent 861a1c23b0
commit 30404ec546
3 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import { Autorun, DebuggerEvent, ComputedGetter } from '@vue/observer'
import { nextTick } from '@vue/scheduler'
import { ErrorTypes } from './errorHandling'
import { initializeComponentInstance } from './componentUtils'
import { EventEmitter, invokeListeners } from './optional/events'
import { EventEmitter, invokeListeners } from './optional/eventEmitter'
// public component instance type
export interface Component<P = {}, D = {}> extends PublicInstanceMethods {

View File

@ -17,7 +17,7 @@ export { Provide, Inject } from './optional/context'
export { createAsyncComponent } from './optional/asyncComponent'
export { KeepAlive } from './optional/keepAlive'
export { mixins } from './optional/mixins'
export { EventEmitter } from './optional/events'
export { EventEmitter } from './optional/eventEmitter'
// flags & types
export { ComponentType, ComponentClass, FunctionalComponent } from './component'