9 ms·
Hopefully they don’t take the suggested approach of forcing everyone to explicitly write the generic types when creating new Sets/Maps/etc. I realize the type s
by Kejistan 7y ago
Hopefully they don’t take the suggested approach of forcing everyone to explicitly write the generic types when creating new Sets/Maps/etc. I realize the type systems are very different under the hood, but if flow can handle this elegantly I would hope that typescript could as well. https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVBjGBDAzrsAYTAG9UwwBzbAFwAsBTAJwAoBKU8isGBmsAgF4wAOwZIAyn3YBuLhVwA6bABMVLAOSMY8DWzncwTPgFcmIgQbABfLidwMWuAFwCaTAJYjKAbQC6HCS2FABGqgCqDk6uIiYAtiHM-oHBYCoMcXDsnIb0Hkr2jgCCTEzYAJ6KUExwcSx5StT0zOxs+lypUNgeMAAiGVmB8mANimEqkcWlFVU1daNNjKxt7RS21kA https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVBjGBDAzrsAYTAG9U...