Skip to content

Commit

Permalink
Small fix for typescript build
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Piolin committed May 31, 2021
1 parent 19976d9 commit c53eddf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/session.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare module 'telegraf-session-local' {
getSessionKey?: (ctx: Context) => string
}

class LocalSession<TSession> {
export class LocalSession<TSession> {
public DB: unknown

constructor(options?: LocalSessionOptions<TSession>)
Expand All @@ -30,6 +30,4 @@ declare module 'telegraf-session-local' {
static get storageMemory(): AdapterSync
static get storageBase(): BaseAdapter
}

export = LocalSession
}

0 comments on commit c53eddf

Please sign in to comment.