Skip to content

Commit

Permalink
test(types/index): add tsd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 4, 2024
1 parent 870c977 commit 44cda88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import accepts from '..'
const app = fastify()

app.register(accepts)
app.register(accepts, { decorateReply: true })
app.register(accepts, { decorateReply: false })

app.get('/', (request, reply) => {
const accept = request.accepts()
Expand Down

0 comments on commit 44cda88

Please sign in to comment.