4 ms·
100%. Python typing is nowhere near as powerful as TS, and the example you gave demonstrates that. I mentioned pyright because (some of) the specific concerns
by davidatbu 1y ago
100%. Python typing is nowhere near as powerful as TS, and the example you gave demonstrates that.
I mentioned pyright because (some of) the specific concerns by OP are addressed by it.