ts2dart TypeScript to Dart transpiler
ts2dart is a TypeScript to Dart transpiler. It's mainly used to translate Angular 2 from TypeScript to Dart for its Dart user base.
npm i -g ts2dart
ts2dart inputFile.ts
npm ito install the dependencies,
gulp watchexecutes the unit tests in watch mode (use
gulp test.unitfor a single run),
gulp test.e2eexecutes the e2e tests,
gulp test.check-formatchecks the source code formatting using
clang-format,
gulp testruns unit tests, e2e tests and checks the source code formatting.
You can send pull requests via Github, or by creating a Phabricator diff on https://reviews.angular.io. Both are fine, though Phabricator has a nicer code review UI.
To create a Phabricator diff:
arc diffto upload a diff (= pull request). This will also run all tests.