Skip to content

Commit

Permalink
fix: add event typings to main export
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 2, 2019
1 parent ed4e6ee commit c661fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adonis-typings/event.ts
Expand Up @@ -11,7 +11,7 @@
* The binding for the given module is defined inside `providers/AppProvider.ts`
* file.
*/
declare module '@ioc:Adonis/Core/Events' {
declare module '@ioc:Adonis/Core/Event' {
import { EmitterContract as BaseContract } from '@poppinss/events'

const Event: EmitterContract<EventsMap>
Expand Down
1 change: 1 addition & 0 deletions adonis-typings/index.ts
Expand Up @@ -11,6 +11,7 @@
/// <reference path="./cors.ts" />
/// <reference path="./encryption.ts" />
/// <reference path="./env.ts" />
/// <reference path="./event.ts" />
/// <reference path="./exception-handler.ts" />
/// <reference path="./http-context.ts" />
/// <reference path="./logger.ts" />
Expand Down

0 comments on commit c661fc5

Please sign in to comment.