Skip to content

Commit

Permalink
fix: improve TypeScript definition
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Jan 12, 2019
1 parent 27a0c97 commit ed9fc93
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/testdouble-qunit/typings/testdouble-qunit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import { VerificationConfig } from 'testdouble';

declare global {
interface Assert {
verify(
a: any,
configOrMessage?: VerificationConfig | string,
message?: string
): void;
/**
* Verify a specific function call to a stubbed function.
*/
verify(a: any, config?: VerificationConfig): void;
verify(a: any, message?: string): void;
verify(a: any, config: VerificationConfig, message: string): void;
}
}

0 comments on commit ed9fc93

Please sign in to comment.