Skip to content

Import aliases don't work #435

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

Closed
asakusuma opened this issue Feb 24, 2017 · 1 comment
Closed

Import aliases don't work #435

asakusuma opened this issue Feb 24, 2017 · 1 comment

Comments

@asakusuma
Copy link

asakusuma commented Feb 24, 2017

import { Foo as MyType } from './foo';
export function bar(foo: MyType) {}

The docs don't recognize that foo is an instance of Foo. There is no link from MyType to Foo, and if you export the docs as JSON, the parameter foo is missing the reference id, unlike parameters who's types are not an alias.

@aciccarello
Copy link
Collaborator

Thanks for the report! I wonder if this is at all related to #393 since it involves renaming symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants