You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the generated types of the parameter of testMethod1 and testMethod2
The JSON output equvalent: typedoc019.ts405.zip
Expected Behavior
The "option" parameter of testMethod1 is referred to the NamespaceA.InterfaceA.
The "option" parameter of testMethod2 is referred to the NamespaceB.InterfaceA.
Actual Behavior
The "option" parameter of testMethod1 has the incorrect type and referred to the root of NamespaceC. In json renamedInterfaceA is variable inside NamespaceC without type.
The "option" parameter of testMethod2 has the correct type and referred to the NamespaceB.InterfaceA.
Yep, this is fixed in v0.20. I had to make one change because I apparently broke global files, but in v0.20.0-beta.12 this produces the expected result.
I have also tested my issue solution with typedoc@0.20.0-beta.14 and it works as expected. Thank you, very much for your work. Typedoc is a very helpful tool!
Search terms
namespaces, import, renaming, types
Steps to reproduce the bug
See the generated types of the parameter of testMethod1 and testMethod2
The JSON output equvalent: typedoc019.ts405.zip
Expected Behavior
The "option" parameter of testMethod1 is referred to the NamespaceA.InterfaceA.
The "option" parameter of testMethod2 is referred to the NamespaceB.InterfaceA.
Actual Behavior
The "option" parameter of testMethod1 has the incorrect type and referred to the root of NamespaceC. In json renamedInterfaceA is variable inside NamespaceC without type.
The "option" parameter of testMethod2 has the correct type and referred to the NamespaceB.InterfaceA.
Environment
Possible related tickets:
#1353
#435
Does this issue is going to be fixed in v0.20 ?
The text was updated successfully, but these errors were encountered: