Skip to content

export as #134

@poeticAndroid

Description

@poeticAndroid

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions