Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DDcsidsIOIDp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
DDcsidsIOIDp
12y ago
> "No Dart compiles to JS." The question is not here, the relevant question is "Does JS compiles in Dart ?" Because, JS Compiles fine in TypeScript, which means Typescript benefits from all JS ecosystem and vice versa
2.
▲
by
DDcsidsIOIDp
12y ago
No, every javascript code compile in TypeScript. This is not a separate language, just javascript + static typing (if you want) All JS lib compile out of the box in TypeScript.
3.
▲
by
DDcsidsIOIDp
12y ago
Wrong, JavaScript is valid Typescript, so you don't have to rewrite anything.