Follow

I hate flow.js. In what world is this acceptable typed code??
```
function foo(x: string): boolean {
return x === 0;
}
```
Normally TypeScript isn't any better but in this case, TypeScript does correctly complain.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.