Closed rugoncalves closed 2 years ago
tplant version: 3.1.1
3.1.1
Problem when the interface is in a different namespace, when using in a class or in an interface, the svg is not generated. Below, the svg "content":
Problem
Cause I was able to replicate the problem with the code below:
Cause
namespace interfaces { export interface IGreeter { greet(): string; } } export class Greeter implements interfaces.IGreeter { greeting: string; prefix: string = "Hello, "; constructor(message: string) { this.greeting = message; } set prefix(prefix: string) { this.prefix = prefix; } greet(prefix: string = "Foo"): string; greet(): string { return this.prefix + this.greeting; } }
tplant version:
3.1.1
Problem
when the interface is in a different namespace, when using in a class or in an interface, the svg is not generated. Below, the svg "content":Cause
I was able to replicate the problem with the code below: