Skip to content

Commit

Permalink
fix(types): Fix provider type in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Schapiro committed Oct 23, 2018
1 parent fe3d271 commit 06257bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare class UssdMenu extends EventEmitter {
constructor(opts?: UssdMenu.UssdMenuOptions);

session: any;
provider: UssdMenu.UssdMenuOptions.provider;
provider: UssdMenu.UssdMenuProvider;
args: UssdMenu.UssdGatewayArgs;
states: Array<UssdState>;
result: string;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ussd-menu-builder",
"version": "1.1.0",
"version": "1.1.1",
"description": "Easily compose USSD menus using states, compatible with Africastalking API",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 06257bc

Please sign in to comment.