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 i
to install the dependencies,gulp watch
executes the unit tests in watch mode (use gulp test.unit
for a single run),gulp test.e2e
executes the e2e tests,gulp test.check-format
checks the source code formatting using clang-format
,gulp test
runs 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 diff
to upload a diff (= pull request). This will also run all tests.