diff --git a/packages/core/src/component.ts b/packages/core/src/component.ts index 604ceeac..1ef89edc 100644 --- a/packages/core/src/component.ts +++ b/packages/core/src/component.ts @@ -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

extends PublicInstanceMethods { diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index a4aeadea..9068dffc 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -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' diff --git a/packages/core/src/optional/events.ts b/packages/core/src/optional/eventEmitter.ts similarity index 100% rename from packages/core/src/optional/events.ts rename to packages/core/src/optional/eventEmitter.ts