dart2ts 0.9.0 copy "dart2ts: ^0.9.0" to clipboard
dart2ts: ^0.9.0 copied to clipboard

outdated

A better interface for TS

Annotation #

Traduzione il più naturale possibile.

  • Class -> Class
  • Metodo -> Metodo
  • Costruttori -> tecnica costruzione ritardata -> prima catena js poi catena dart
  • Mixin -> decoratore che applica il mixin (prolema : come funziona con la risoluzione del tipo ?)

TODO:

  • make things working again
    • add an TSImport thing in order to import basic stuff like utils.*
    • make default constructor call super when needed
    • fix annotation (name and brakets stuff)
    • use "Object.assign" for named args
    • make named arg optional for named ctor declaration
    • fix named constructor name when called from other constructors
    • fix default constructor name (use this or parent class name)
    • handle factories