Files
test-repo/tests/format/flow/comments/arrow.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
236 B
JavaScript
Raw Normal View History

// Error
2019-10-09 19:52:11 +08:00
const a = (data/*: Object */) => {}
// OK
2019-10-09 19:52:11 +08:00
const b = (data/*: Object */, secondData/*: Object */) => {}
2019-10-09 19:52:11 +08:00
const c = (data/*: /* this is an object *-/ Object */) => {};
const run = (cmd /*: string */) /*: Promise<void> */ => {}