File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
integration/mdc-migration
golden/src/app/components/button
sample-project/src/app/components/button Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
- import { Component , OnInit } from '@angular/core' ;
1
+ import { Component } from '@angular/core' ;
2
2
3
3
@Component ( {
4
4
selector : 'button-example' ,
5
5
templateUrl : './button.component.html' ,
6
6
styleUrls : [ './button.component.scss' ] ,
7
7
} )
8
- export class ButtonComponent implements OnInit {
9
- constructor ( ) { }
10
-
11
- ngOnInit ( ) : void { }
12
- }
8
+ export class ButtonComponent { }
Original file line number Diff line number Diff line change 1
- import { Component , OnInit } from '@angular/core' ;
1
+ import { Component } from '@angular/core' ;
2
2
3
3
@Component ( {
4
4
selector : 'button-example' ,
5
5
templateUrl : './button.component.html' ,
6
6
styleUrls : [ './button.component.scss' ] ,
7
7
} )
8
- export class ButtonComponent implements OnInit {
9
- constructor ( ) { }
10
-
11
- ngOnInit ( ) : void { }
12
- }
8
+ export class ButtonComponent { }
You can’t perform that action at this time.
0 commit comments