prettier/tests/type-at-pos/function_expressions.js

11 lines
140 B
JavaScript

// @flow
// TODO: type-at-pos between the ()'s should be () => void
// class X {
// foo(): void {}
// }
const y = {
bar(): void {}
};