TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
weswigham on master
Update user baselines (#35643) (compare)
ahejlsberg on fix35414
ahejlsberg on fix35414-2
Increase selectivity of subtype… Add regression test Accept new baselines (compare)
.d.ts
per .ts
file, and they'll reference each other just like the JS files.
any
with unknown
in a lot of places
any
the same as unknown
?
any
really needed besides just being a shortcut?
any
is one half unknown
and one half never
I imagine there are a lot of things that could break by substituting unknown
.
unknown
unknown
is good for output only usage. never
is good for input only usage. The existential type is good for both. But since it isn't implemented yet, we use any
as a hack-y workaround in most cases