Hacker News new | ask | show | jobs
by nawitus 4467 days ago
Not all valid JavaScript is valid TypeScript, e.g. you can't use undeclared variables. The compiler can still output the .js file, though.