prettier/tests/predicates-parsing/fail-2.js

6 lines
109 B
JavaScript

// @flow
var a2 = (x: mixed): %checks (x !== null) => { // Error: body form
var x = 1; return x;
}