vscode-ts-uml icon indicating copy to clipboard operation
vscode-ts-uml copied to clipboard

type Array<complexType> is not picked up

Open areijngoudt opened this issue 6 years ago • 1 comments

given this declaration:

export interface TypeA { id: string; bTypes: Array<TypeB>; }

export interface TypeB { id: string; }

the bTypesproperty is rendered as type any.

image

areijngoudt avatar Oct 29 '19 09:10 areijngoudt

it would be beneficial to have Array notation supported. Currently the workaround is to use the bracket notation, [TypeB] . Any updates are appreciated.

Also it might be nice to have custom types on the right side not get truncated. The short ones like string, number, any are not clipped, but if your class name exceeds around 20 characters, it's just gone.

mattmutt avatar Dec 23 '19 21:12 mattmutt