We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code example:
interface ComplexTypesInterface { type: Dict<{ stringType: string; numberType: number; }> | undefined; }
Current transformation:
@startuml interface ComplexTypesInterface { type: Dict<{ stringType: string; numberType: number; }> } @enduml
Expected transformation:
@startuml interface ComplexTypesInterface { type: Dict<{ stringType: string; numberType: number; }> | undefined } @enduml
The text was updated successfully, but these errors were encountered:
I can't reproduce this issue if I define Dict.
Dict
interface Dict<T> { public keys: T[]; } interface ComplexTypesInterface { type: Dict<{ stringType: string; numberType: number; }> | undefined; }
Generates
@startuml interface Dict<T> { +keys: T[] } interface ComplexTypesInterface { +type: Dict<{ stringType: string; numberType: number; }> | undefined } @enduml
If I don't define Dict I get any as the type. @marcosvrs was this posted prior to merging the re-factor? I can't seem to recreate the issue.
any
Sorry, something went wrong.
Interesting behavior. But actually my Dict interface looks like that:
interface Dict<T> { [index: string]: T; }
You can also take a look in my last commit here where I could also reproduce it.
bafolts
No branches or pull requests
Code example:
Current transformation:
Expected transformation:
The text was updated successfully, but these errors were encountered: