Re:TypeScript at Slack
by abritinthebay on Tuesday April 11, 2017 @08:20PM
(#14093723)
That's one option (my favorite and the simplest to use).
But the "default" is annotated JS which is not dissimilar to how TS operates.
I prefer Flow's syntax and if it wasn't for the annoying "you have to run a server to check code" thing... I'd use it a lot more
Re:TypeScript at Slack
by jankassens on Wednesday April 12, 2017 @03:16AM
(#14095487)
You can use `flow check`, but the server has the benefit of giving almost instant responses even on large code bases by only revalidating a subset of the project.
Re:TypeScript at Slack
by abritinthebay on Wednesday April 12, 2017 @04:21PM
(#14101363)
Yeah, there are ways to configure it to be better but it's just not... "nice" out of the box.
Which is sadly important - for something so optional.
How so? Isn't JS-with-Flow just JS with specially formatted comments?