prettier/tests/flow_annotation
Lucas Azzola 58edd0d3f3 Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561)
Without this, this:

    const actionArray: (() => void)[] = [];

is formatted as:

    const actionArray: () => void[] = [];

Fixes #2559
2017-07-30 00:50:38 +10:00
..
__snapshots__ Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561) 2017-07-30 00:50:38 +10:00
array_of_functions.js Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561) 2017-07-30 00:50:38 +10:00
jsfmt.spec.js Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561) 2017-07-30 00:50:38 +10:00