Skip to content

Commit a63b20c

Browse files
author
Valentin
committed
fix(typings): don't type ZoneScheduler.delegate to support old TS versions
1 parent 90e3f9f commit a63b20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/angularfire2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function noop() { }
1212
* Schedules tasks so that they are invoked inside the Zone that is passed in the constructor.
1313
*/
1414
export class ZoneScheduler implements SchedulerLike {
15-
constructor(private zone: any, private delegate = asyncScheduler) { }
15+
constructor(private zone: any, private delegate: any = asyncScheduler) { }
1616

1717
now() {
1818
return this.delegate.now();

0 commit comments

Comments
 (0)