prettier/tests/flow/modules/lib.js

10 lines
187 B
JavaScript

/* @flow */
function g(x:string) { }
//function f(x) { g(x); return x; }
//function f(x:number) { g(x); return x; }
function f(x:number):number { g(x); return x; }
module.exports = f;