Skip to content

Commit 9833ddb

Browse files
Tony133mrazauskas
andauthored
chore: update index.tst.ts
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de> Signed-off-by: Antonio Tripodi <Tony133@users.noreply.github.com>
1 parent 9fd4d42 commit 9833ddb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/index.tst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ app.register(fastifyBasicAuth, {
4242
expect(password).type.toBe<string>()
4343
expect(req).type.toBe<FastifyRequest>()
4444
expect(reply).type.toBe<FastifyReply>()
45-
expect(done).type.toBeAssignableTo<(err?: Error) => void>()
45+
expect(done).type.toBe<(err?: Error) => void>()
4646
expect(this).type.toBe<FastifyInstance>()
4747
}
4848
})

0 commit comments

Comments
 (0)