prettier/tests/flow/optional/maybe.js

4 lines
52 B
JavaScript

function foo(x?: string): ?string {
return x;
}