4 ms·
https://flowtype.org/ https://flowtype.org/ function bar(x): string { That's not JavaScript.
by tomatsu 10y ago
https://flowtype.org/ https://flowtype.org/
function bar(x): string {
That's not JavaScript.
- thejameskyle 10y agoIf that's too much you can also do: function bar(x) /* : string */ { No compiling necessary