diff --git a/jasmine/jasmine.d.ts b/jasmine/jasmine.d.ts index c0bd00843..9e662c6e1 100644 --- a/jasmine/jasmine.d.ts +++ b/jasmine/jasmine.d.ts @@ -55,7 +55,9 @@ declare module jasmine { function getEnv(): Env; function addCustomEqualityTester(equalityTester: CustomEqualityTester): void; function addMatchers(matchers: CustomMatcherFactories): void; - + function stringMatching(str: string): Any; + function stringMatching(str: RegExp): Any; + interface Any { new (expectedClass: any): any;