Skip to content

Commit

Permalink
Fix refresh signature in ts defs (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Oct 29, 2021
1 parent 88c9437 commit 90ee3b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,11 @@ interface AccessToken {
* }
* ```
*/
refresh(params?: TokenParameters): Promise<AccessToken>;
refresh(params?: RefreshParams): Promise<AccessToken>;
}

interface RefreshParams {
tokenEndpointParams?: TokenParameters;
}

interface TokenParameters {
Expand Down

0 comments on commit 90ee3b3

Please sign in to comment.