docs: fix code style (#46862)

PR Close #46862
This commit is contained in:
piyush132000
2022-07-17 14:22:59 +05:30
committed by Jessica Janiuk
parent f9edb776ca
commit 2ca404dbfd
2 changed files with 2 additions and 12 deletions
@@ -7,6 +7,5 @@ import { Component } from '@angular/core';
})
export class CartComponent {
constructor() { }
}
@@ -1,11 +1,6 @@
// #docplaster
/*
// #docregion as-generated
import { Component, OnInit } from '@angular/core';
// #enddocregion as-generated
*/
// #docregion imports
import { Component, OnInit, Input } from '@angular/core';
import { Component, Input } from '@angular/core';
import { Product } from '../products';
// #enddocregion imports
// #docregion as-generated
@@ -16,14 +11,10 @@ import { Product } from '../products';
styleUrls: ['./product-alerts.component.css']
})
// #docregion input-decorator
export class ProductAlertsComponent implements OnInit {
export class ProductAlertsComponent {
// #enddocregion as-generated
@Input() product!: Product;
// #docregion as-generated
constructor() { }
ngOnInit() {
}
}