File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,19 @@ export interface CommentObject {
3737
3838export interface CommentToken {
3939 type : 'BlockComment' | 'LineComment'
40- // The content of the comment, including whitespaces and line breaks
40+ /** The content of the comment, including whitespaces and line breaks */
4141 value : string
42- // If the start location is the same line as the previous token,
43- // then `inline` is `true`
42+ /**
43+ * If the start location is the same line as the previous token,
44+ * then `inline` is `true`
45+ */
4446 inline : boolean
45- // But pay attention that,
46- // locations will NOT be maintained when stringified
47+ /* But pay attention that, locations will NOT be maintained when stringified */
4748 loc : CommentLocation
4849}
4950
5051export interface CommentLocation {
51- // The start location begins at the `//` or `/*` symbol
52+ /** The start location begins at the `//` or `/*` symbol */
5253 start : Location
5354 // The end location of multi-line comment ends at the `*/` symbol
5455 end : Location
You can’t perform that action at this time.
0 commit comments