2 ms·
Adding (even a simplified version of) the Typescript typesystem to the Javascript spec is probably a bad idea. It's all the weird little complexities of Typescr
by dymk 4y ago
Adding (even a simplified version of) the Typescript typesystem to the Javascript spec is probably a bad idea. It's all the weird little complexities of Typescript that make it flexible enough to add types to most JS code.
Javascript as an untyped build target is fine. I'm opposed to adding (ignored) type hints to Javascript because they'd just end up rebuilding Typescript, but done poorly.