From c53eddf558e1e117764bb5a8732dbf8e483765a8 Mon Sep 17 00:00:00 2001 From: Victor Piolin Date: Sun, 30 May 2021 23:48:25 -0400 Subject: [PATCH] Small fix for typescript build --- lib/session.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/session.d.ts b/lib/session.d.ts index 32b3898..166c6ca 100644 --- a/lib/session.d.ts +++ b/lib/session.d.ts @@ -16,7 +16,7 @@ declare module 'telegraf-session-local' { getSessionKey?: (ctx: Context) => string } - class LocalSession { + export class LocalSession { public DB: unknown constructor(options?: LocalSessionOptions) @@ -30,6 +30,4 @@ declare module 'telegraf-session-local' { static get storageMemory(): AdapterSync static get storageBase(): BaseAdapter } - - export = LocalSession }