Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 19, 2019
1 parent 6ab4413 commit a4c40b8
Show file tree
Hide file tree
Showing 6 changed files with 1,224 additions and 1,142 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"plugin:adonis/typescriptPackage"
]
}
8 changes: 4 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* macroable
* @poppinss/macroable
*
* (c) Harminder Virk <virk@adonisjs.com>
*
Expand All @@ -11,9 +11,9 @@ type MacroableFn<T> = (this: T, ...args: any[]) => any
type MacroableMap = { [key: string]: MacroableFn<any> }

export interface MacroableConstructorContract<T extends any> {
macro (name: string, callback: MacroableFn<T>),
getter (name: string, callback: MacroableFn<T>, singleton?: boolean),
hydrate (),
macro (name: string, callback: MacroableFn<T>): void
getter (name: string, callback: MacroableFn<T>, singleton?: boolean): void
hydrate (): void
}

/**
Expand Down
Loading

0 comments on commit a4c40b8

Please sign in to comment.