-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for 'types' #47
Comments
Can you provide a sample input typescript and the corresponding plantuml? |
For simple purposes, a type can behave in UML just like an interface. For example, type SetupType = {
active?: boolean
comment?: string | string[]
params?: any
} can map to
but instead of For the OP's original request, I'm guessing this would suffice
again, replacing the |
+1, this would be great to have |
For reference, the latest TypeScript documentation effectively says that Interfaces and Type aliases are interchangable: https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#differences-between-type-aliases-and-interfaces. Which one the user uses is largely down to personal preference. |
Sending out |
As a Dev I need a support for 'types'
e.g.
type ExampleType = string | Function;
The text was updated successfully, but these errors were encountered: