ts2dart 0.0.6+1 copy "ts2dart: ^0.0.6+1" to clipboard
ts2dart: ^0.0.6+1 copied to clipboard

Transpiles TypeScript declaration files (.d.ts) to Dart interop

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ts2dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  ts2dart: ^0.0.6+1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ts2dart/ts2dart.dart';
0
likes
70
pub points
6%
popularity

Publisher

unverified uploader

Transpiles TypeScript declaration files (.d.ts) to Dart interop

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.paypal.com

License

Apache-2.0 (license)

Dependencies

archive, built_collection, code_builder, collection, console, dart_style, glob, http, logging, meta, path, recase

More

Packages that depend on ts2dart