fix: declare var global.
This is required as otherwise our code ends up with an undeclared symbol in `global`. It declares it to the same type as it'd have in nodejs, <any>.
This commit is contained in:
parent
cdc7b03e67
commit
13466604f9
2
modules/angular2/globals.d.ts
vendored
2
modules/angular2/globals.d.ts
vendored
@ -29,3 +29,5 @@ interface BrowserNodeGlobal {
|
|||||||
setInterval: Function;
|
setInterval: Function;
|
||||||
clearInterval: Function;
|
clearInterval: Function;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare var global: any;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user