5 Commits

Author SHA1 Message Date
Tom MacWright
f9039e9614
fix: Allow skipped array arguments in destructuring. Fixes #1247 (#1266) 2019-07-22 14:01:43 -07:00
Tom MacWright
fa1b0b51d2 feat: Enable all parser plugins
BREAKING CHANGE: this removes support for legacy decorators, because
in one place we had legacy and in another we didn't.
2019-05-07 12:46:58 -07:00
Tom MacWright
b309d39e93 feat(doctrine): Support decorator syntax in examples
Support decorators is an unspecified part of JSDoc: we're just going forward and implementing a new
syntax here because it's unlikely that JSDoc will move fast enough.

Fixes #1016
2018-04-11 10:33:09 -07:00
Tom MacWright
22d8740c23 feat(inferTypes): Support class properties
Previously we did not properly infer params on methods that were located on class properties. This
changes things so that we do. It carefully tries to avoid messing up the existing support of class
type annotations, which are similar to class properties at the AST level, but do not have an
associated node, only a type alias.

Fixes #1043
2018-04-11 10:16:38 -07:00
Tom MacWright
11d9045a00 Native Flow, use Jest (#767)
* build: Use Flow syntax without comments.

We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
2017-05-08 20:46:21 -04:00