Skip to content

Commit 89488f8

Browse files
author
Andy Hanson
committed
Add test for jsdoc in navigation bar
1 parent 8b09312 commit 89488f8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/// <reference path="fourslash.ts"/>
2+
3+
// @Filename: foo.js
4+
/////** @typedef {(number|string)} NumberLike */
5+
/////** @typedef {(string|number)} */
6+
////const x = 0;
7+
8+
verify.navigationBar([
9+
{
10+
"text": "NumberLike",
11+
"kind": "type"
12+
},
13+
{
14+
"text": "x",
15+
"kind": "type"
16+
},
17+
{
18+
"text": "x",
19+
"kind": "var"
20+
}
21+
]);

0 commit comments

Comments
 (0)