Skip to content

Commit

Permalink
Add generic type for Frint Methods interface (#438)
Browse files Browse the repository at this point in the history
Fixes #437
  • Loading branch information
leandrooriente authored and rbardini committed Sep 5, 2018
1 parent 610b9fe commit 2fc487a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frint/src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function makeInstanceKey(region = null, regionKey = null, multi = false) {
}

export interface Methods {
[key: string]: () => any;
[key: string]: (...args: any[]) => any;
}

export interface ProviderNames {
Expand Down

0 comments on commit 2fc487a

Please sign in to comment.