mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Speakeasy: Correct type of counter for verify options (#37055)
This commit is contained in:
parent
8a1b68be3a
commit
911e65400f
4
types/speakeasy/index.d.ts
vendored
4
types/speakeasy/index.d.ts
vendored
@ -209,7 +209,7 @@ export interface TotpOptions extends SharedOptions {
|
||||
/**
|
||||
* The counter value, calculated from time by default
|
||||
*/
|
||||
counter?: string;
|
||||
counter?: number;
|
||||
}
|
||||
|
||||
export interface TotpVerifyOptions extends SharedOptions {
|
||||
@ -250,7 +250,7 @@ export interface TotpVerifyOptions extends SharedOptions {
|
||||
/**
|
||||
* The counter value, calculated from time by default
|
||||
*/
|
||||
counter?: string;
|
||||
counter?: number;
|
||||
}
|
||||
|
||||
export interface OtpauthURLOptions extends SharedOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user