File tree Expand file tree Collapse file tree 3 files changed +66
-5
lines changed
tests/baselines/reference/JSDocParsing Expand file tree Collapse file tree 3 files changed +66
-5
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ describe("unittests:: JSDocParsing", () => {
226226 ) ;
227227
228228 parsesCorrectly (
229- "importTypeTag3 " ,
229+ "importTypeTag4 " ,
230230 `/**
231231 * @importType * as types from 'foo' comment part
232232 */` ,
Original file line number Diff line number Diff line change 11{
22 "kind" : " JSDoc" ,
33 "pos" : 0 ,
4- "end" : 59 ,
4+ "end" : 46 ,
55 "flags" : " JSDoc" ,
66 "modifierFlagsCache" : 0 ,
77 "transformFlags" : 0 ,
88 "tags" : {
99 "0" : {
1010 "kind" : " JSDocImportTypeTag" ,
1111 "pos" : 8 ,
12- "end" : 57 ,
12+ "end" : 41 ,
1313 "modifierFlagsCache" : 0 ,
1414 "transformFlags" : 0 ,
1515 "tagName" : {
2020 "transformFlags" : 0 ,
2121 "escapedText" : " importType"
2222 },
23- "comment" : " comment part" ,
2423 "importClause" : {
2524 "kind" : " ImportClause" ,
2625 "pos" : 20 ,
5554 },
5655 "length" : 1 ,
5756 "pos" : 8 ,
58- "end" : 57 ,
57+ "end" : 41 ,
5958 "hasTrailingComma" : false ,
6059 "transformFlags" : 0
6160 }
Original file line number Diff line number Diff line change 1+ {
2+ "kind" : " JSDoc" ,
3+ "pos" : 0 ,
4+ "end" : 59 ,
5+ "flags" : " JSDoc" ,
6+ "modifierFlagsCache" : 0 ,
7+ "transformFlags" : 0 ,
8+ "tags" : {
9+ "0" : {
10+ "kind" : " JSDocImportTypeTag" ,
11+ "pos" : 8 ,
12+ "end" : 57 ,
13+ "modifierFlagsCache" : 0 ,
14+ "transformFlags" : 0 ,
15+ "tagName" : {
16+ "kind" : " Identifier" ,
17+ "pos" : 9 ,
18+ "end" : 19 ,
19+ "modifierFlagsCache" : 0 ,
20+ "transformFlags" : 0 ,
21+ "escapedText" : " importType"
22+ },
23+ "comment" : " comment part" ,
24+ "importClause" : {
25+ "kind" : " ImportClause" ,
26+ "pos" : 20 ,
27+ "end" : 30 ,
28+ "modifierFlagsCache" : 0 ,
29+ "transformFlags" : 1 ,
30+ "isTypeOnly" : true ,
31+ "namedBindings" : {
32+ "kind" : " NamespaceImport" ,
33+ "pos" : 20 ,
34+ "end" : 30 ,
35+ "modifierFlagsCache" : 0 ,
36+ "transformFlags" : 0 ,
37+ "name" : {
38+ "kind" : " Identifier" ,
39+ "pos" : 24 ,
40+ "end" : 30 ,
41+ "modifierFlagsCache" : 0 ,
42+ "transformFlags" : 0 ,
43+ "escapedText" : " types"
44+ }
45+ }
46+ },
47+ "moduleSpecifier" : {
48+ "kind" : " StringLiteral" ,
49+ "pos" : 35 ,
50+ "end" : 41 ,
51+ "modifierFlagsCache" : 0 ,
52+ "transformFlags" : 0 ,
53+ "text" : " foo"
54+ }
55+ },
56+ "length" : 1 ,
57+ "pos" : 8 ,
58+ "end" : 57 ,
59+ "hasTrailingComma" : false ,
60+ "transformFlags" : 0
61+ }
62+ }
You can’t perform that action at this time.
0 commit comments