Skip to content
Permalink
Browse files

fix: add event typings to main export

  • Loading branch information...
thetutlage committed Jun 2, 2019
1 parent ed4e6ee commit c661fc5cac0f6446a249b17bf218de01f0b4e739
Showing with 2 additions and 1 deletion.
  1. +1 −1 adonis-typings/event.ts
  2. +1 −0 adonis-typings/index.ts
@@ -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>
@@ -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" />

0 comments on commit c661fc5

Please sign in to comment.
You can’t perform that action at this time.