From 9e9042b5c935450fcfffc67cc9eac46d11f95b40 Mon Sep 17 00:00:00 2001 From: Mohamed Mansour Date: Fri, 6 Dec 2013 20:04:46 -0800 Subject: [PATCH] Fix bug where waitsFor has an optional failureMessage It should be defined as optional for failureMessage according to the specifications. --- jasmine/jasmine.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index 2c6e836d2b..2ff32afb70 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -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 {