Enable building typescript.d.ts with current source

This commit is contained in:
Sheetal Nandi
2019-02-22 15:32:42 -08:00
parent 9730cfa845
commit 9fa28158bb
18 changed files with 201 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ namespace ts {
return textChanges.getNewFileText(toStatements(valueInfo, outputKind), ScriptKind.TS, formatSettings.newLineCharacter || "\n", formatting.getFormatContext(formatSettings));
}
/* @internal */
const enum OutputKind { ExportEquals, NamedExport, NamespaceMember, Global }
function toNamespaceMemberStatements(info: ValueInfo): ReadonlyArray<Statement> {
return toStatements(info, OutputKind.NamespaceMember);