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

Union Types breaking bundling #48

Open
deegles opened this issue Apr 6, 2017 · 0 comments
Open

Union Types breaking bundling #48

deegles opened this issue Apr 6, 2017 · 0 comments

Comments

@deegles
Copy link

deegles commented Apr 6, 2017

Hi, it looks like union types are breaking the bundling process.

original:

export type MyType = "a" | "b" | "c";

export const AnotherType = {

    One: "a" as MyType,

    Two: "b" as MyType,

    Three: "c" as MyType

};

Output (from the top of the file, there is a blank line first):

    One: "a" | "b" | "c";

    Two: "a" | "b" | "c";

    Three: "a" | "b" | "c";
};

I'll try to dig in more and see if I can find the bug, but could someone take a look?

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

1 participant