From 3ce9d51a9c7b5ea820ed5b8aaa7bc783114d01b3 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Wed, 21 Jun 2017 12:22:10 -0700 Subject: [PATCH] fix(aio): prefix `location.assign` with `window.` No practical effect but clears the TS compiler warning. --- aio/src/app/shared/location.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/src/app/shared/location.service.ts b/aio/src/app/shared/location.service.ts index 2d41a03684..5f96ee2bc9 100644 --- a/aio/src/app/shared/location.service.ts +++ b/aio/src/app/shared/location.service.ts @@ -45,7 +45,7 @@ export class LocationService { } goExternal(url: string) { - location.assign(url); + window.location.assign(url); } private stripSlashes(url: string) {