Skip to content

Commit

Permalink
fix(typescript): add findByUserCode to DeviceCode types
Browse files Browse the repository at this point in the history
  • Loading branch information
perkio authored and panva committed Oct 23, 2019
1 parent 2795fc3 commit df58cff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ declare class DeviceCode extends BaseToken {
deviceInfo: AnyObject;
[key: string]: any;
});

static findByUserCode(userCode: string, options?: { ignoreExpiration?: boolean }): Promise<DeviceCode | undefined>;

readonly kind: 'DeviceCode';
error?: string;
errorDescription?: string;
Expand Down

0 comments on commit df58cff

Please sign in to comment.