Better HN
topnewbestaskshowjobs
Log inSign up

DDcsidsIOIDp

6 karma · joined Mar 5, 2015 (11y ago) · 3 submissions

Submissions

comment 11y ago · link · parent

> "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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

Wrong, JavaScript is valid Typescript, so you don't have to rewrite anything.