See this thread: https://esdiscuss.org/topic/es8-proposal-optional-static-typ...
Note that things have moved a bit, and we're now only a few standing proposals away from being able to properly infer the challenging functions mentioned there.
No comments yet.