Skip to content

Commit

Permalink
fixup! feat(typescript): add typescript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
hspedro committed Jun 11, 2019
1 parent 9056df4 commit 361a430
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ declare module "fastify" {
interface Assert {
(condition: boolean, code?: number | string, message?: string): string;
ok(condition: boolean, code?: number | string, message?: string): string;
equal<T>(a: T, b: T, code?: number | string, message?: string): string;
notEqual<T>(a: T, b: T, code?: number | string, message?: string): string;
equal<T, U>(a: T, b: U, code?: number | string, message?: string): string;
notEqual<T, U>(
a: T,
b: U,
code?: number | string,
message?: string
): string;
strictEqual<T, U>(
a: T,
b: U,
Expand Down

0 comments on commit 361a430

Please sign in to comment.