style(docs-infra): fix docs examples for tslint rule import-spacing
(#38143)
This commit updates the docs examples to be compatible with the `import-spacing` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
This commit is contained in:
parent
d89200ad24
commit
0a791e4a50
@ -1,8 +1,7 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Observable }from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
import { Item,
|
import { Item, ItemService } from './items.service';
|
||||||
ItemService } from './items.service';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
template: `
|
template: `
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
// #docplaster
|
// #docplaster
|
||||||
import { async, ComponentFixture, TestBed
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
} from '@angular/core/testing';
|
|
||||||
|
|
||||||
import { By } from '@angular/platform-browser';
|
import { By } from '@angular/platform-browser';
|
||||||
import { DebugElement } from '@angular/core';
|
import { DebugElement } from '@angular/core';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user