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

Incorrect output if rename while re-exporting the default export without a name #185

Closed
timocov opened this issue Jan 11, 2022 · 1 comment · Fixed by #248
Closed

Incorrect output if rename while re-exporting the default export without a name #185

timocov opened this issue Jan 11, 2022 · 1 comment · Fixed by #248
Assignees
Labels
Milestone

Comments

@timocov
Copy link
Owner

timocov commented Jan 11, 2022

Bug report

Input code

func.ts:

export default function() {}

input.ts:

export { default as myName } from './func';

Expected output

export declare function myName(): void;

export {};

Actual output

declare function() {}

export {}

Additional context
Add any other context about the problem here (CLI options, etc)

@timocov
Copy link
Owner Author

timocov commented Mar 30, 2023

Released in v8.0.0.

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