File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -659,10 +659,6 @@ module ts {
659659 "\u0085" : "\\u0085" // nextLine
660660 } ;
661661
662- export function getDefaultLibFileName ( options : CompilerOptions ) : string {
663- return options . target === ScriptTarget . ES6 ? "lib.es6.d.ts" : "lib.d.ts" ;
664- }
665-
666662 export interface ObjectAllocator {
667663 getNodeConstructor ( kind : SyntaxKind ) : new ( ) => Node ;
668664 getSymbolConstructor ( ) : new ( flags : SymbolFlags , name : string ) => Symbol ;
Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ module ts {
137137 }
138138 }
139139
140+ export function getDefaultLibFileName ( options : CompilerOptions ) : string {
141+ return options . target === ScriptTarget . ES6 ? "lib.es6.d.ts" : "lib.d.ts" ;
142+ }
143+
140144 export function createProgram ( rootNames : string [ ] , options : CompilerOptions , host ?: CompilerHost ) : Program {
141145 let program : Program ;
142146 let files : SourceFile [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments