I wish TS could check Promise resolve types, so like: foo(): Promise<boolean> { return new Promise(res => res(123)); // NO }
-
-
thanks to the ability to do things like res(promiseLike) or res() 3/3
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.