thorn0asdf·10 anni fa·discussJames, I'd be glad if you answered my pretty simple and specific questions here: https://news.ycombinator.com/item?id=12209131
thorn0asdf·10 anni fa·discussHowever that may be, I am really curious to see an example of an unconvertible type definition.
thorn0asdf·10 anni fa·discussIt 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?