feat(build): require parameter types

Fixes #2833
This commit is contained in:
Alex Eagle
2015-07-07 20:03:00 -07:00
parent 6d760666a9
commit de18da2a0d
81 changed files with 379 additions and 290 deletions

View File

@ -121,7 +121,7 @@ export class NgZone {
* });
* ```
*/
run(fn): any {
run(fn: () => any): any {
if (this._disabled) {
return fn();
} else {
@ -145,7 +145,7 @@ export class NgZone {
* });
* ```
*/
runOutsideAngular(fn): any {
runOutsideAngular(fn: () => any): any {
if (this._disabled) {
return fn();
} else {