BREAKING CHANGE: This moves documentation.js to Babel 7. From now on,
documentation.js will only support Babel 7: please stick to older
releases if you need to support Babel 6. Additionally, this work
temporarily disables support for following dynamic imports.
* Fix membership infering for methods
Improve inferMembership to allow to use next code:
```js
/**
* @memberof BigFeature
*/
class MyClass {
method() {}
}
```
Before this improvement, we have `method` inside
`global.MyClass` instead of `global.BigFeature.MyClass`
* Add tests fir membership infering for methods
Per usejsdoc.org, this tag goes either in a comment attached to a
function that has declared that function to be a class, or in a comment
on an ES6 class constructor.
* 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