bafolts / tplant

Typescript to plantuml
https://segmentationfaults.com/tplant/default.html
GNU General Public License v3.0
267 stars 34 forks source link

Please add abstract fields #39

Closed David-Else closed 5 years ago

David-Else commented 5 years ago

Hi,

At the moment tplant does not add {abstract} fields when needed. For example:

abstract class BitmapCharacter extends BaseCharacter {
  abstract image: HTMLImageElement;
  abstract widthHeight: Vector2;
}

should generate:

abstract class BitmapCharacter extends BaseCharacter {
    +{abstract} image: HTMLImageElement
    +{abstract} widthHeight: [number, number]
}

Which makes them italic in the diagram, much easier to understand :) Cheers.