demike / TsUML2

Generates UML diagrams from TypeScript source code
MIT License
250 stars 33 forks source link

TypeScript intersection types not working #41

Open cristianmadularu opened 11 months ago

cristianmadularu commented 11 months ago

Hi, The TypeScript support for type intersection does not seem to work. For example, if I have the two types defined below:

export type Type1 = { propA: string; };

export type Type2 = Type1 & { propB: string; };

The generator only shows a representation of Type1. image

Expected: Both types and the relationship between them to be represented.

Thank you!