mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Change kind name to imports
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -827,7 +827,7 @@ namespace ts {
|
||||
Comment = "comment",
|
||||
Region = "region",
|
||||
Code = "code",
|
||||
Import = "import"
|
||||
Imports = "imports"
|
||||
}
|
||||
|
||||
export const enum OutputFileType {
|
||||
|
||||
+1
-1
@@ -4893,7 +4893,7 @@ declare namespace ts {
|
||||
Comment = "comment",
|
||||
Region = "region",
|
||||
Code = "code",
|
||||
Import = "import"
|
||||
Imports = "imports"
|
||||
}
|
||||
enum OutputFileType {
|
||||
JavaScript = 0,
|
||||
|
||||
+1
-1
@@ -4893,7 +4893,7 @@ declare namespace ts {
|
||||
Comment = "comment",
|
||||
Region = "region",
|
||||
Code = "code",
|
||||
Import = "import"
|
||||
Imports = "imports"
|
||||
}
|
||||
enum OutputFileType {
|
||||
JavaScript = 0,
|
||||
|
||||
Reference in New Issue
Block a user