test: fix typings for DoneFn (#25163)

This also fixes CI tests, which were accidentally broken in #24663.

PR Close #25163
This commit is contained in:
George Kalpakas
2018-07-27 19:14:12 +03:00
committed by Igor Minar
parent 36a7705a44
commit 39abe7b7c1
9 changed files with 25 additions and 28 deletions

View File

@ -148,7 +148,7 @@ export declare type TestModuleMetadata = {
export declare function tick(millis?: number): void;
/** @experimental */
export declare function withBody<T>(html: string, blockFn: T): T;
export declare function withBody<T extends Function>(html: string, blockFn: T): T;
/** @experimental */
export declare function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;

View File

@ -6,6 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/
/// <reference types="jasminewd2" />
/**
* Extended typings for `jasminewd2`.
*