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

export as #134

Open
poeticAndroid opened this issue Jul 28, 2018 · 0 comments
Open

export as #134

poeticAndroid opened this issue Jul 28, 2018 · 0 comments

Comments

@poeticAndroid
Copy link

poeticAndroid commented Jul 28, 2018

Feature Request

Overview

would be nice to export functions (and other stuff?) under a different name, not limited to valid javascript identifiers..

Impact

Some implementations might require modules to export functions under specific names, which might be a javascript keyword or contain special characters.

Details

Maybe something like this?

export as "break" function exit():void { ... };
// or
export function exit():void { ... } as "break";
// or
function exit():void { ... }
export exit as "break";
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