From 8d4563644fc12e6f41d3483b51e04a3a8b8252e9 Mon Sep 17 00:00:00 2001 From: aanchal Date: Fri, 16 Dec 2022 20:37:54 +0530 Subject: [PATCH 1/3] docs: removed empty methods --- .../projects/lib/src/lib/lib.component.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts index 345514700ee8..564013ef0ce7 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; @Component({ selector: 'lib', @@ -17,11 +17,6 @@ import { Component, OnInit } from '@angular/core'; `, styles: [] }) -export class LibComponent implements OnInit { - - constructor() { } - - ngOnInit() { - } +export class LibComponent { } From fa4af42ccfa9d3dc5321de344457cbf11a131b82 Mon Sep 17 00:00:00 2001 From: aanchal Date: Fri, 16 Dec 2022 22:18:28 +0530 Subject: [PATCH 2/3] Revert "docs: removed empty methods" This reverts commit 8d4563644fc12e6f41d3483b51e04a3a8b8252e9. --- .../projects/lib/src/lib/lib.component.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts index 564013ef0ce7..345514700ee8 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import { Component } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; @Component({ selector: 'lib', @@ -17,6 +17,11 @@ import { Component } from '@angular/core'; `, styles: [] }) -export class LibComponent { +export class LibComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } } From fb513516d00bf154fe0cbcf1ab9248266468bf36 Mon Sep 17 00:00:00 2001 From: aanchal Date: Fri, 16 Dec 2022 22:19:15 +0530 Subject: [PATCH 3/3] test: removed empty methods --- .../projects/lib/src/lib/lib.component.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts index 345514700ee8..564013ef0ce7 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; @Component({ selector: 'lib', @@ -17,11 +17,6 @@ import { Component, OnInit } from '@angular/core'; `, styles: [] }) -export class LibComponent implements OnInit { - - constructor() { } - - ngOnInit() { - } +export class LibComponent { }