chore(lint): sort imports in tools/

This commit is contained in:
Alex Eagle 2016-06-08 11:14:43 -07:00
parent efdc2d5118
commit d38aa5e25f
5 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,6 @@
export {TsickleHost, MetadataWriterHost} from './src/compiler_host';
export {main, CodegenExtension} from './src/main';
export {MetadataWriterHost, TsickleHost} from './src/compiler_host';
export {CodegenExtension, main} from './src/main';
export {default as AngularCompilerOptions} from './src/options';
export * from './src/collector';
export * from './src/schema';

View File

@ -1,9 +1,10 @@
import * as ts from 'typescript';
import {Evaluator, ImportMetadata, ImportSpecifierMetadata, errorSymbol, isPrimitive} from './evaluator';
import {ClassMetadata, ConstructorMetadata, ModuleMetadata, MemberMetadata, MetadataError, MetadataMap, MetadataSymbolicExpression, MetadataSymbolicReferenceExpression, MetadataValue, MethodMetadata, isMetadataError, isMetadataSymbolicReferenceExpression, VERSION} from './schema';
import {ClassMetadata, ConstructorMetadata, MemberMetadata, MetadataError, MetadataMap, MetadataSymbolicExpression, MetadataSymbolicReferenceExpression, MetadataValue, MethodMetadata, ModuleMetadata, VERSION, isMetadataError, isMetadataSymbolicReferenceExpression} from './schema';
import {Symbols} from './symbols';
/**
* Collect decorator metadata from a TypeScript module.
*/

View File

@ -1,7 +1,9 @@
import * as fs from 'fs';
import * as path from 'path';
import * as ts from 'typescript';
import {tsc, check} from './tsc';
import {check, tsc} from './tsc';
import NgOptions from './options';
import {MetadataWriterHost, TsickleHost} from './compiler_host';

View File

@ -1,8 +1,9 @@
import * as ts from 'typescript';
import {MetadataCollector} from '../src/collector';
import {ClassMetadata, ConstructorMetadata, ModuleMetadata} from '../src/schema';
import {Directory, expectValidSources, Host} from './typescript.mocks';
import {Directory, Host, expectValidSources} from './typescript.mocks';
describe('Collector', () => {
let host: ts.LanguageServiceHost;

View File

@ -1,7 +1,7 @@
import {spawn} from 'child_process';
import {writeFileSync, mkdirSync, existsSync} from 'fs';
import {existsSync, mkdirSync, writeFileSync} from 'fs';
import {TscWatch, TSC, reportError} from './tsc_watch';
import {TSC, TscWatch, reportError} from './tsc_watch';
export * from './tsc_watch';
import 'reflect-metadata';