chore(lint): sort imports in tools/
This commit is contained in:
parent
efdc2d5118
commit
d38aa5e25f
|
@ -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';
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue