chore(lint): remove unused imports (#11923)
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568 Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569 which causes too many imports to be deleted.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
// #docregion HowTo
|
||||
import {AfterContentInit, Component, ContentChild, Directive, QueryList} from '@angular/core';
|
||||
import {AfterContentInit, ContentChild, Directive} from '@angular/core';
|
||||
|
||||
@Directive({selector: 'child-directive'})
|
||||
class ChildDirective {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
// #docregion HowTo
|
||||
import {AfterContentInit, Component, ContentChildren, Directive, QueryList} from '@angular/core';
|
||||
import {AfterContentInit, ContentChildren, Directive, QueryList} from '@angular/core';
|
||||
|
||||
@Directive({selector: 'child-directive'})
|
||||
class ChildDirective {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {ForwardRefFn, Inject, ReflectiveInjector, forwardRef, resolveForwardRef} from '@angular/core';
|
||||
import {Inject, ReflectiveInjector, forwardRef, resolveForwardRef} from '@angular/core';
|
||||
|
||||
export function main() {
|
||||
describe('forwardRef examples', () => {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {Inject, Injectable, OpaqueToken, Optional, ReflectiveInjector, ValueProvider} from '@angular/core';
|
||||
import {Inject, Injectable, OpaqueToken, Optional, ReflectiveInjector} from '@angular/core';
|
||||
|
||||
export function main() {
|
||||
describe('Provider examples', () => {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
// #docregion Component
|
||||
import {AfterViewInit, Component, Directive, Input, ViewChild} from '@angular/core';
|
||||
import {Component, Directive, Input, ViewChild} from '@angular/core';
|
||||
|
||||
@Directive({selector: 'pane'})
|
||||
export class Pane {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
// #docregion HowTo
|
||||
import {AfterViewInit, Component, Directive, QueryList, ViewChild} from '@angular/core';
|
||||
import {AfterViewInit, Component, Directive, ViewChild} from '@angular/core';
|
||||
|
||||
@Directive({selector: 'child-directive'})
|
||||
class ChildDirective {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, Component, DoCheck, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, Type} from '@angular/core';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
import {TestBed} from '@angular/core/testing';
|
||||
|
||||
export function main() {
|
||||
describe('lifecycle hooks examples', () => {
|
||||
|
@ -6,8 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {Component, ReflectiveInjector, createPlatformFactory} from '@angular/core';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
import {Component, createPlatformFactory} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
// #docregion longform
|
||||
|
Reference in New Issue
Block a user