Fix #22419: Add kind field to OutliningSpan

This commit is contained in:
Mohamed Hegazy
2018-05-03 16:28:55 -07:00
parent 23b9a23455
commit e52efb04f3
15 changed files with 73 additions and 24 deletions

View File

@@ -816,6 +816,17 @@ namespace ts {
* the 'Collapse to Definitions' command is invoked.
*/
autoCollapse: boolean;
/**
* Classification of the contents of the span
*/
kind: OutliningSpanKind;
}
export const enum OutliningSpanKind {
Comment = "comment",
Region = "region",
Code = "code"
}
export const enum OutputFileType {