prettier/tests/flow/suppress/C.js

9 lines
183 B
JavaScript

function takesAString(x: string): void {}
function runTest(y: number): void {
takesAString(
/* $FlowFixMe - suppressing the error op location should also work */
y,
);
}