HNHacker News
TopNewBestAskShowJobs

thorn0asdf

2 karma · joined August 2, 2016

submissionscomments
thorn0asdf··on Flowtype 0.30 adds support for Windows
James, I'd be glad if you answered my pretty simple and specific questions here: https://news.ycombinator.com/item?id=12209131
thorn0asdf··on Flowtype 0.30 adds support for Windows
However that may be, I am really curious to see an example of an unconvertible type definition.
thorn0asdf··on Flowtype 0.30 adds support for Windows
It should be much easier to implement a "TS definition source files (.d.ts) => Flow" converter than generic "TS => Flow". The language in .d.ts is a small subset of TS. Are your explanations about Flow's strictness really applicable to this subset?

See https://github.com/Microsoft/TypeScript/blob/master/doc/spec...

> Here's an example that came up just last week: [...] (Note: This is not a bug in TypeScript, it's a design decision)

I believe this design decision isn't final, but again: what difference does this example make if we're talking just about type declarations?