Merge pull request #9140 from Microsoft/navbar_jsdoc

Add test for jsdoc in navigation bar
This commit is contained in:
Andy 2016-06-14 05:43:45 -07:00 committed by GitHub
commit 29b1e796c3

View file

@ -0,0 +1,21 @@
/// <reference path="fourslash.ts"/>
// @Filename: foo.js
/////** @typedef {(number|string)} NumberLike */
/////** @typedef {(string|number)} */
////const x = 0;
verify.navigationBar([
{
"text": "NumberLike",
"kind": "type"
},
{
"text": "x",
"kind": "type"
},
{
"text": "x",
"kind": "var"
}
]);