Re:Deno Joins TC39
by lucacasonato on Monday December 13, 2021 @08:34AM
(#29539427)
No, I think this will eventually stop. JavaScript is getting more mature. I would not be surprised if the TypeScript syntax will be legacy in a few years, because JS caught up.
[ Parent
| on HN ]
Re:Deno Joins TC39
by megaman821 on Monday December 13, 2021 @08:54AM
(#29539560)
Is there some proposal for making the type syntax valid? No type checking just JavaScript parsing code with types and ignoring it.
Re:Deno Joins TC39
by lucacasonato on Monday December 13, 2021 @09:27AM
(#29539843)
No such proposal exists right now, but this will be a point of immediate focus for me.
How will Deno react if that happens?
Re:Deno Joins TC39
by lucacasonato on Monday December 13, 2021 @12:00PM
(#29541443)
Deno will behave just like Chrome or Firefox would: we ignore the checks when running your code. We would have a `deno check` subcommand to perform a typecheck. You could optionally run this automatically before a `deno run` by passing a `--check` flag.