Change kind name to imports

This commit is contained in:
Mohamed Hegazy
2018-05-05 12:02:40 -07:00
parent ea96638701
commit 8072dae16b
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2470,7 +2470,7 @@ Actual: ${stringify(fullActual)}`);
Harness.IO.log(stringify(spans));
}
public verifyOutliningSpans(spans: Range[], kind?: "comment" | "region" | "code" | "import") {
public verifyOutliningSpans(spans: Range[], kind?: "comment" | "region" | "code" | "imports") {
const actual = this.languageService.getOutliningSpans(this.activeFile.fileName);
if (actual.length !== spans.length) {
@@ -4302,7 +4302,7 @@ namespace FourSlashInterface {
this.state.verifyCurrentNameOrDottedNameSpanText(text);
}
public outliningSpansInCurrentFile(spans: FourSlash.Range[], kind?: "comment" | "region" | "code" | "import") {
public outliningSpansInCurrentFile(spans: FourSlash.Range[], kind?: "comment" | "region" | "code" | "imports") {
this.state.verifyOutliningSpans(spans, kind);
}
+1 -1
View File
@@ -827,7 +827,7 @@ namespace ts {
Comment = "comment",
Region = "region",
Code = "code",
Import = "import"
Imports = "imports"
}
export const enum OutputFileType {
+1 -1
View File
@@ -4893,7 +4893,7 @@ declare namespace ts {
Comment = "comment",
Region = "region",
Code = "code",
Import = "import"
Imports = "imports"
}
enum OutputFileType {
JavaScript = 0,
+1 -1
View File
@@ -4893,7 +4893,7 @@ declare namespace ts {
Comment = "comment",
Region = "region",
Code = "code",
Import = "import"
Imports = "imports"
}
enum OutputFileType {
JavaScript = 0,