Skip to content

Support for “export default from” and “export ns from” proposals #9906

Closed
@calebmer

Description

@calebmer

Is it on the TypeScript roadmap to support the export default from and export namespace from proposals? This makes working with default exports much easier. Currently this needs to be done to export a bunch of defaults as named exports:

import a from 'a'
import b from 'b'
import c from 'c'

export {
  a,
  b,
  c,
}

By implementing these proposals the above goes to:

export a from 'a'
export b from 'b'
export c from 'c'

These proposals make import/export semantics symmetrical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions