Skip to content
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

fix handling of aliases imports and exports #426

Open
crowlKats opened this issue Dec 15, 2023 · 1 comment
Open

fix handling of aliases imports and exports #426

crowlKats opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@crowlKats
Copy link
Member

crowlKats commented Dec 15, 2023

Import alias case:

a.ts

import { Data as Foo } from "./b.ts";
export interface Data {}
export function f(): Foo {}

b.ts

export interface Data {}

Export alias case:

a.ts

import { Data } from "./_util.ts";
export function f(): Data {

b.ts

export { type Data as Foo } from "./_util.ts";

_util.ts

export interface Data {}

cc @lucacasonato

@crowlKats crowlKats added the bug Something isn't working label Dec 15, 2023
@crowlKats
Copy link
Member Author

Potentially related #427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant