3 ms·
For one, they're not actually enforced
by bobbylarrybobby 7y ago
For one, they're not actually enforced
- NateEag 7y agohttp://mypy-lang.org/ http://mypy-lang.org/ Disclaimer: I have not used MyPy. I'm just interested.
- pas 7y agoBoth TS and mypy has strict mode and "implicit Any" mode. In the latter they don't enforce much, you just get a JS or regular Python file. (mypy is not a transpiler like TS, mostly because it explicitly wants to be able to target legacy JS runtimes - eg IE8 ES5 - whereas mypy needs a recent Python that supports type annotations)