Hacker News new | ask | show | jobs
by megaman821 1655 days ago
Is there some proposal for making the type syntax valid? No type checking just JavaScript parsing code with types and ignoring it.
2 comments

No such proposal exists right now, but this will be a point of immediate focus for me.
How will Deno react if that happens?
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.