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

7 lines
128 B
JavaScript
Raw Normal View History

2016-12-23 19:31:38 +00:00
function foo(x:?string) {}
function bar(x:?number) {}
foo('hmm');
bar('hmm');
function fn(data: ?{}) {}
fn({some: 'literal'});