Skip to content

Commit 4725dfc

Browse files
committed
test(angular): lint
1 parent ca62104 commit 4725dfc

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/angular/test/apps/ng19/src/app/lazy/nav/nav.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Component, Input } from '@angular/core';
1+
import { Component, Input, OnInit } from '@angular/core';
22
import { ModalExampleComponent } from '../modal-example/modal-example.component';
33

44
@Component({
55
selector: 'app-nav',
66
templateUrl: './nav.component.html',
77
standalone: false
88
})
9-
export class NavComponent {
9+
export class NavComponent implements OnInit {
1010
rootPage = ModalExampleComponent;
1111
rootParams: any;
1212

packages/angular/test/apps/ng19/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { JsonPipe } from "@angular/common";
2-
import { Component } from "@angular/core";
1+
import { Component, OnInit } from "@angular/core";
32

43
import { IonicModule } from "@ionic/angular";
54

@@ -18,9 +17,9 @@ let rootParamsException = false;
1817
template: `
1918
{{ hasException ? 'ERROR' : 'OK' }}
2019
`,
21-
imports: [IonicModule, JsonPipe]
20+
imports: [IonicModule]
2221
})
23-
export class NavRootComponent {
22+
export class NavRootComponent implements OnInit {
2423

2524
params: any;
2625

0 commit comments

Comments
 (0)