diff --git a/lib/zone.ts b/lib/zone.ts index 7ae9b97f3..e67f91a32 100644 --- a/lib/zone.ts +++ b/lib/zone.ts @@ -177,7 +177,7 @@ interface Zone { * @param source A unique debug location of the API being wrapped. * @returns {function(): *} A function which will invoke the `callback` through [Zone.runGuarded]. */ - wrap(callback: Function, source: string): Function; + wrap(callback: F, source: string): F; /** * Invokes a function in a given zone. *