Import declaration of type does works if an imported variable name does not match the original type name in the namespaces approach. #1400
Labels
bug
Functionality does not match expectation
Projects
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: