ts_definition 1.0.0-beta copy "ts_definition: ^1.0.0-beta" to clipboard
ts_definition: ^1.0.0-beta copied to clipboard

Parse TypeScript interfaces, and generate (de)serializable Dart classes.

ts_definition #

Parse TypeScript interfaces, and generate (de)serializable Dart classes. Preserves comments from the original TypeScript sources.

Use the TypeScriptDefinitionTranspilerBuilder found in package:ts_definition/builder.dart.

I don't expect this library to be 100% perfect, but it was capable of generating automatic, serializable Dart files for the entire Language Server Protocol. This should be a good bet for many projects.

0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Parse TypeScript interfaces, and generate (de)serializable Dart classes.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

antlr4dart, build, dart_style, indenting_buffer, inflection, recase, symbol_table

More

Packages that depend on ts_definition