bafolts / tplant

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

Support for type parameters. #108

Open david9991 opened 1 year ago

david9991 commented 1 year ago

The tplant does not support type parameters. Therefore, when the following code was used:

class NodeDependenciesProvider implements vscode.TreeDataProvider<Dependency> {
...

The PlantUML output did not include the type information behind the implements keyword:

@startuml
class NodeDependenciesProvider implements  {
    +getTreeItem(element: Dependency): vscode.TreeItem
    +getChildren(element?: Dependency | undefined): Thenable<Dependency[]>
}
...
@enduml

And in preview window I got this error

Screenshot 2023-06-09 at 16 22 28