From 13466604f9f2bcdb34a77865fb67c462c55646c9 Mon Sep 17 00:00:00 2001 From: Martin Probst Date: Thu, 11 Jun 2015 09:44:04 -0700 Subject: [PATCH] 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, . --- modules/angular2/globals.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/angular2/globals.d.ts b/modules/angular2/globals.d.ts index d2d82d68f7..7a881d0fa1 100644 --- a/modules/angular2/globals.d.ts +++ b/modules/angular2/globals.d.ts @@ -29,3 +29,5 @@ interface BrowserNodeGlobal { setInterval: Function; clearInterval: Function; } + +declare var global: any;