Skip to content

Investigate missing export * exports #1140

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
dcodeIO opened this issue Mar 1, 2020 · 0 comments
Closed

Investigate missing export * exports #1140

dcodeIO opened this issue Mar 1, 2020 · 0 comments
Labels

Comments

@dcodeIO
Copy link
Member

dcodeIO commented Mar 1, 2020

While working on #1129 I noticed that some module exports are missing both in the binary and in the corresponding generated definition file. In particular:

import * as util from "./util/index";
export { util };

in index.ts yields exactly one export util.isPowerOf2, but misses the star re-exports in util/index.ts. If I'm not mistaken this is not limited to module exports, but also happens if one tries to

import * as wasi from "bindings/wasi";

which also has a star re-export

export * from "./wasi_snapshot_preview1";

Pinning here so we don't forget.

@dcodeIO dcodeIO added the bug label Mar 1, 2020
@dcodeIO dcodeIO mentioned this issue Mar 1, 2020
8 tasks
dcodeIO added a commit that referenced this issue Mar 2, 2020
@dcodeIO dcodeIO closed this as completed Mar 2, 2020
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