mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix bug where waitsFor has an optional failureMessage
It should be defined as optional for failureMessage according to the specifications.
This commit is contained in:
Vendored
+1
-1
@@ -21,7 +21,7 @@ declare function expect(actual: any): jasmine.Matchers;
|
||||
declare function spyOn(object: any, method: string): jasmine.Spy;
|
||||
|
||||
declare function runs(asyncMethod: Function): void;
|
||||
declare function waitsFor(latchMethod: () => boolean, failureMessage: string, timeout?: number): void;
|
||||
declare function waitsFor(latchMethod: () => boolean, failureMessage?: string, timeout?: number): void;
|
||||
declare function waits(timeout?: number): void;
|
||||
|
||||
declare module jasmine {
|
||||
|
||||
Reference in New Issue
Block a user