Files
test-repo/tests/format/flow-repo/nullable/simple_nullable.js
T

8 lines
128 B
JavaScript

function foo(x:?string) {}
function bar(x:?number) {}
foo('hmm');
bar('hmm');
function fn(data: ?{}) {}
fn({some: 'literal'});