Nathan Shively-Sanders
e942bbb6f2
Test: jsdoc @param
type literals
2017-07-21 14:49:07 -07:00
Nathan Shively-Sanders
1b7faf10ac
Merge pull request #17254 from Microsoft/generic-Object-jsdoc-creates-index-signature
...
JSDoc:Object<string, T> creates index signature
2017-07-18 08:48:56 -07:00
Wesley Wigham
8a1cd33451
Use jsdoc casts ( #17251 )
...
* Allow jsdoc casts of parenthesized expressions
* Feedback from #17211
2017-07-17 23:39:20 -07:00
Nathan Shively-Sanders
10a91c5426
JSDoc:Object<string, T> creates index signature
...
And `Object<number, T>` creates a numeric index signature. Other uses
still create `any` as before.
2017-07-17 16:14:42 -07:00
Nathan Shively-Sanders
3f60364a64
Improve test of jsdoc literal type parsing
2017-07-17 08:29:40 -07:00
Nathan Shively-Sanders
172db13306
Parse more types in JSDoc function() syntax
...
Also some cleanup from PR comments
2017-07-14 14:34:32 -07:00
Nathan Shively-Sanders
bdc3f1f3f7
Address more PR comments
2017-07-14 13:29:44 -07:00
Nathan Shively-Sanders
da5285e979
Update baselines
2017-07-14 09:34:35 -07:00
Nathan Shively-Sanders
91633cde5f
Test JSDoc parsing using TS parser
2017-07-13 11:33:12 -07:00
Kanchalai Tanglertsampan
7ae4ff3b3d
Add tests and update baselines
2017-07-10 15:24:03 -07:00
Kanchalai Tanglertsampan
9df2931aa3
Add tests and update baselines
2017-06-13 15:24:05 -07:00
Kanchalai Tanglertsampan
7dae8f73dd
Merge branch 'master' into master-fix13306
2017-06-13 11:41:48 -07:00
Nathan Shively-Sanders
b967bbb722
Test @typedef in @typedef-only JS files
...
Previously there was nothing for the @typedef to attach to, so the
comment was never parsed. Now these comments attach to the EOF token.
2017-06-13 10:37:04 -07:00
Nathan Shively-Sanders
da83eb967a
Returned generic function is instantiated correctly
2017-06-12 13:56:17 -07:00
Ron Buckton
ff1f33729b
Improve contextual types and return type checking
2017-06-08 16:44:42 -07:00
Yui
66b6d69c37
Merge pull request #16110 from Microsoft/master-refactorJsDocTest
...
[Master] Add more JSDoc tests and move them into one folder instead of spread between salsa and jsdoc conformance
2017-06-01 14:03:58 -07:00
Nathan Shively-Sanders
928da675ac
Merge pull request #16156 from Microsoft/report-jsdoc-syntax-errors
...
Report JSDoc syntax errors
2017-05-31 16:21:32 -07:00
Kanchalai Tanglertsampan
1daff75d46
Update tests/baselines
2017-05-31 13:13:25 -07:00
Yui T
558cb2e2fa
Add tests
2017-05-31 12:15:50 -07:00
Kanchalai Tanglertsampan
7815ccff1c
Merge branch 'master' into master-refactorJsDocTest
2017-05-30 13:47:53 -07:00
Nathan Shively-Sanders
41e134529a
Test reporting jsdoc syntax errors
2017-05-30 13:33:13 -07:00
Kanchalai Tanglertsampan
d7c33713e4
Merge branch 'master' into master-refactorJsDocTest
2017-05-30 08:38:08 -07:00
Kanchalai Tanglertsampan
27078f995e
Merge branch 'master' into master-fix16092
2017-05-30 08:25:53 -07:00
Yui T
5c7c113203
Update tests and baselines
2017-05-29 21:48:34 -07:00
Yui T
227198fae1
Add tests and update baselines
2017-05-27 19:11:08 -07:00
Yui T
0cbfc79ca7
Rename test files to be more consistent and move them into jsdoc folder
2017-05-26 11:20:57 -07:00
Yui T
8ae2fbadd0
Add tests and baselines
2017-05-25 22:35:15 -07:00
Yui T
4f791040fc
Add tests and baselines
2017-05-25 20:16:52 -07:00
Nathan Shively-Sanders
b14d7c7ebb
Add more jsdoc tests
2016-09-01 09:25:49 -07:00
Nathan Shively-Sanders
aa834d7f17
JSDoc supports null, undefined and never types
2016-08-17 15:49:57 -07:00
Nathan Shively-Sanders
3c32478b8f
Support other (new) literal types in jsdoc
2016-08-04 13:01:17 -07:00
Nathan Shively-Sanders
a6642d68c9
JSDoc understands string literal types
...
Unfortunately, I didn't find a way to reuse the normal string literal
type, so I had to extend the existing JSDoc type hierarchy. Otherwise,
this feature is very simple.
2016-07-27 13:21:42 -07:00