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

Not all symbols in a declaration merging are exported #301

Closed
timocov opened this issue Feb 3, 2024 · 0 comments
Closed

Not all symbols in a declaration merging are exported #301

timocov opened this issue Feb 3, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@timocov
Copy link
Owner

timocov commented Feb 3, 2024

Bug report

Input code

// input.ts
import { Foo } from './foo';
const Foo = 2;
export { Foo };

// foo.ts
export interface Foo {}

Expected output

export interface Foo {
}
export declare const Foo = 2;
export {};

Actual output

interface Foo {
}
export declare const Foo = 2;
export {};

Additional context
exportReferencedTypes should be disabled

@timocov timocov added the Bug label Feb 3, 2024
@timocov timocov added this to the 9.3 milestone Feb 3, 2024
@timocov timocov self-assigned this Feb 3, 2024
@timocov timocov closed this as completed in 874f801 Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant