Skip to content

Commit 8072dae

Browse files
committed
Change kind name to imports
1 parent ea96638 commit 8072dae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/harness/fourslash.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2470,7 +2470,7 @@ Actual: ${stringify(fullActual)}`);
24702470
Harness.IO.log(stringify(spans));
24712471
}
24722472

2473-
public verifyOutliningSpans(spans: Range[], kind?: "comment" | "region" | "code" | "import") {
2473+
public verifyOutliningSpans(spans: Range[], kind?: "comment" | "region" | "code" | "imports") {
24742474
const actual = this.languageService.getOutliningSpans(this.activeFile.fileName);
24752475

24762476
if (actual.length !== spans.length) {
@@ -4302,7 +4302,7 @@ namespace FourSlashInterface {
43024302
this.state.verifyCurrentNameOrDottedNameSpanText(text);
43034303
}
43044304

4305-
public outliningSpansInCurrentFile(spans: FourSlash.Range[], kind?: "comment" | "region" | "code" | "import") {
4305+
public outliningSpansInCurrentFile(spans: FourSlash.Range[], kind?: "comment" | "region" | "code" | "imports") {
43064306
this.state.verifyOutliningSpans(spans, kind);
43074307
}
43084308

src/services/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ namespace ts {
827827
Comment = "comment",
828828
Region = "region",
829829
Code = "code",
830-
Import = "import"
830+
Imports = "imports"
831831
}
832832

833833
export const enum OutputFileType {

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4893,7 +4893,7 @@ declare namespace ts {
48934893
Comment = "comment",
48944894
Region = "region",
48954895
Code = "code",
4896-
Import = "import"
4896+
Imports = "imports"
48974897
}
48984898
enum OutputFileType {
48994899
JavaScript = 0,

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4893,7 +4893,7 @@ declare namespace ts {
48934893
Comment = "comment",
48944894
Region = "region",
48954895
Code = "code",
4896-
Import = "import"
4896+
Imports = "imports"
48974897
}
48984898
enum OutputFileType {
48994899
JavaScript = 0,

0 commit comments

Comments
 (0)