-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueES NextNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
The ES7 proposal is available at: https://github.com/leebyron/ecmascript-more-export-from
The additions include:
reexporting default:
// proposed:
export v from "mod";
// symmetric to:
import v from "mod";
export {v};
reexporting as sub-module:
// proposed:
export * as ns from "mod";
// symmetric to:
import * as ns from "mod";
export {ns};
also allowing combining
// proposed
export v, {x, y as w} from "mod"
// symmetric to
import v, {x, y as w} from "mod"
As well as
// proposed
export v, * as ns from "mod"
// symmetric to
import v, * as ns from "mod"
plantain-00, hourliert, bcherny, jwbay, nevir and 96 moresibelius, bgoscinski, jeongsd, igl, ExE-Boss and 8 moreExE-Boss, meeroslav, bastiankistner, rubek-joshi, G-Rath and 5 more
Metadata
Metadata
Assignees
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueES NextNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript