mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
f28a53a9be
commit
9e9042b5c9
1 file changed
+1
-1
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