When using Flow, be careful with empty objects. They are "unsealed" which means that all properties are effectively optional at the original call site. Meaning, this does NOT error: const obj: {foo: string} = {}; This behaviour is specific to an empty object.
-
-
Holy shit. That is really bad!
-
Expected behaviour sadly
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 










