We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b92a8f2 + 89488f8 commit 29b1e79Copy full SHA for 29b1e79
tests/cases/fourslash/navigationBarJsDoc.ts
@@ -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
16
17
18
19
+ "kind": "var"
20
+ }
21
+]);
0 commit comments