Skip to content

Commit 3bc3f2d

Browse files
committed
Add comments to kinds
1 parent 12ed49b commit 3bc3f2d

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/services/types.ts

+7
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,16 @@ namespace ts {
824824
}
825825

826826
export const enum OutliningSpanKind {
827+
/** Single or multi-line comments */
827828
Comment = "comment",
829+
830+
/** Sections marked by '// #region' and '// #endregion' comments */
828831
Region = "region",
832+
833+
/** Declarations and expressions */
829834
Code = "code",
835+
836+
/** Contiguous blocks of import declarations */
830837
Imports = "imports"
831838
}
832839

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

+4
Original file line numberDiff line numberDiff line change
@@ -4890,9 +4890,13 @@ declare namespace ts {
48904890
kind: OutliningSpanKind;
48914891
}
48924892
enum OutliningSpanKind {
4893+
/** Single or multi-line comments */
48934894
Comment = "comment",
4895+
/** Sections marked by '// #region' and '// #endregion' comments */
48944896
Region = "region",
4897+
/** Declarations and expressions */
48954898
Code = "code",
4899+
/** Contiguous blocks of import declarations */
48964900
Imports = "imports"
48974901
}
48984902
enum OutputFileType {

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

+4
Original file line numberDiff line numberDiff line change
@@ -4890,9 +4890,13 @@ declare namespace ts {
48904890
kind: OutliningSpanKind;
48914891
}
48924892
enum OutliningSpanKind {
4893+
/** Single or multi-line comments */
48934894
Comment = "comment",
4895+
/** Sections marked by '// #region' and '// #endregion' comments */
48944896
Region = "region",
4897+
/** Declarations and expressions */
48954898
Code = "code",
4899+
/** Contiguous blocks of import declarations */
48964900
Imports = "imports"
48974901
}
48984902
enum OutputFileType {

0 commit comments

Comments
 (0)