From 911e65400f616f5f69df9b91362cb0acdb5cc3ce Mon Sep 17 00:00:00 2001 From: Chris Northwood Date: Mon, 29 Jul 2019 18:10:27 +0100 Subject: [PATCH] Speakeasy: Correct type of counter for verify options (#37055) --- types/speakeasy/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/speakeasy/index.d.ts b/types/speakeasy/index.d.ts index 1c1c4cf853..7cb2f67b30 100644 --- a/types/speakeasy/index.d.ts +++ b/types/speakeasy/index.d.ts @@ -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 {