Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Commit 2f29104

Browse files
committed
feat(typings): NgZone
1 parent 726bc06 commit 2f29104

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/custom_typings/ng2.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ declare var Zone: any;
88
interface ObjectConstructor {
99
assign(target: any, ...sources: any[]): any;
1010
}
11-
11+
declare module "angular2/src/core/zone/ng_zone" {
12+
class NgZone {
13+
runOutsideAngular(func: Function): any
14+
}
15+
}
1216
declare module "angular2/src/change_detection/pipes/pipe" {
1317
class PipeFactory {}
1418
}

0 commit comments

Comments
 (0)