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:
@ -1,4 +1,4 @@
|
||||
import {ApplicationRef, NgModule, enableProdMode} from '@angular/core';
|
||||
import {ApplicationRef, enableProdMode} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
import {bindAction, profile} from '../../util';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {ApplicationRef, NgModule, enableProdMode} from '@angular/core';
|
||||
import {ApplicationRef, enableProdMode} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
import {bindAction, profile} from '../../util';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {bindAction, profile} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree} from '../util';
|
||||
import {buildTree, emptyTree} from '../util';
|
||||
import {TreeComponent} from './tree';
|
||||
|
||||
export function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {bindAction, profile} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree} from '../util';
|
||||
import {buildTree, emptyTree} from '../util';
|
||||
import {TreeComponent} from './tree';
|
||||
const {patch} = require('incremental-dom');
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {ApplicationRef, NgModule, enableProdMode} from '@angular/core';
|
||||
import {ApplicationRef, enableProdMode} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
import {bindAction, profile} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree} from '../util';
|
||||
import {buildTree, emptyTree} from '../util';
|
||||
|
||||
import {AppModule, TreeComponent} from './tree';
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {ApplicationRef, NgModule, enableProdMode} from '@angular/core';
|
||||
import {ApplicationRef, enableProdMode} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
import {bindAction, profile} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree} from '../util';
|
||||
import {buildTree, emptyTree} from '../util';
|
||||
|
||||
import {AppModule, RootTreeComponent} from './tree';
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {ApplicationRef, NgModule, enableProdMode} from '@angular/core';
|
||||
import {ApplicationRef, enableProdMode} from '@angular/core';
|
||||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
|
||||
import {bindAction, profile} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree} from '../util';
|
||||
import {buildTree, emptyTree} from '../util';
|
||||
|
||||
import {AppModule, TreeComponent} from './tree';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {Component, Input, NgModule} from '@angular/core';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
|
||||
import {TreeNode, emptyTree, flattenTree} from '../util';
|
||||
import {TreeNode, emptyTree} from '../util';
|
||||
|
||||
@Component({
|
||||
selector: 'tree',
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {bindAction} from '../../util';
|
||||
import {TreeNode, buildTree, emptyTree, flattenTree} from '../util';
|
||||
import {buildTree, flattenTree} from '../util';
|
||||
|
||||
declare var Polymer: any;
|
||||
|
||||
|
Reference in New Issue
Block a user