Skip to content

Commit

Permalink
fix: module missing default export
Browse files Browse the repository at this point in the history
  • Loading branch information
JacopoPatroclo committed Feb 21, 2024
1 parent 19ad377 commit c9a659d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions module.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
declare module 'fastify-better-flash' {
import { FastifyPluginCallback } from 'fastify'

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface FlashSessionType {}

const betterflash: FastifyPluginCallback<() => string>
export default betterflash
}

0 comments on commit c9a659d

Please sign in to comment.