loading...

re: Flow 0.99: Callable Properties, Function Statics, and More VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Oh I see what you mean now–and why the interface type works! Because an object with type: interface Common { a: number, b: string, } ......

So, it turns out that (from my understanding) interfaces allow structural subtyping which distincts themselves from types.

Although, I run into this error that I don't quite understand, but looks interesting..

Wow, yeah that's a head-scratcher. No idea what's happening there!

code of conduct - report abuse