Skip to content

Commit 5b93c63

Browse files
committed
chore(tslint): fix errors
1 parent 90be5ad commit 5b93c63

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Diff for: nativescript-angular/directives/dialogs.ts

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from "@angular/core";
1111

1212
import { NSLocationStrategy } from "../router/ns-location-strategy";
13-
import { Page } from "tns-core-modules/ui/page";
1413
import { View, ViewBase } from "tns-core-modules/ui/core/view";
1514
import { ProxyViewContainer } from "tns-core-modules/ui/proxy-view-container/proxy-view-container";
1615

Diff for: nativescript-angular/router/ns-location-strategy.ts

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export class NSLocationStrategy extends LocationStrategy {
136136
const rootOutlets = stateUrlTree.root.children;
137137

138138
Object.keys(rootOutlets).forEach(outletName => {
139-
const outletStates = this.statesByOutlet[outletName] = this.statesByOutlet[outletName] || [];
140139
const topState = this.peekState(outletName);
141140

142141
topState.segmentGroup = rootOutlets[outletName];

Diff for: nativescript-angular/router/page-router-outlet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
Attribute, ChangeDetectorRef,
33
ComponentFactory, ComponentFactoryResolver, ComponentRef,
44
Directive, Inject, InjectionToken, Injector,
5-
OnDestroy, OnInit, EventEmitter, Output,
5+
OnDestroy, EventEmitter, Output,
66
Type, ViewContainerRef, ElementRef
77
} from "@angular/core";
88
import {

0 commit comments

Comments
 (0)