Skip to content

Commit

Permalink
feat: 编译
Browse files Browse the repository at this point in the history
Change-Id: I1aff3d5cd070529814324ee7bc359de7a263ba52
  • Loading branch information
meixg committed Dec 11, 2018
1 parent 603f048 commit 9ede565
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import {
isBlock,
isStringLike
} from './utilities/nodeTest';
import * as os from 'os';
import {
forEach,
cast,
Expand Down Expand Up @@ -69,7 +68,7 @@ export function emitFile(sourceFile: SourceFile, typeChecker: ts.TypeChecker) {
let reservedNames: ts.Map<true>; // TempFlags to reserve in nested name generation scopes.
let write = writeBase;
reset();
const writer = createTextWriter(os.EOL);
const writer = createTextWriter("\n");
writer.writeLine();


Expand Down

0 comments on commit 9ede565

Please sign in to comment.