Skip to content

Commit 8c8e68c

Browse files
committed
Fix Object.assign compile error.
No longer using a typing (removed from latest tns-core-modules to avoid clashing with TypeScript 2.0 stdlib typings)
1 parent 1524fb1 commit 8c8e68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nativescript-angular/router/page-router-outlet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class PageRouterOutlet {
206206
// HACK: Fill the outlet map provided by the router, with the outlets that we have cached.
207207
// This is needed beacuse the component is taken form the cache and not created - so it will not register
208208
// its child router-outlets to the newly created outlet map.
209-
Object.assign(outletMap, cacheItem.outletMap);
209+
(<any>Object).assign(outletMap, cacheItem.outletMap);
210210

211211
this.currentActivatedComp = cacheItem.componentRef;
212212
}

0 commit comments

Comments
 (0)