3 ms·
Both examples you gave are type related. Obviously typescript will stop you from making type errors. That’s the whole point. > Half the original point of TS wa
by johnfn 4y ago
Both examples you gave are type related. Obviously typescript will stop you from making type errors. That’s the whole point.
> Half the original point of TS was to add features to JS that weren't there originally
That’s simply not true. The TS website says “typescript becomes JavaScript via the delete key” along with many other statements that directly contradict this.