Closed
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
The team has roadmapped this issueThe team has roadmapped this issueNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)A PR has been merged for this issueA PR has been merged for this issueAn idea for TypeScriptAn idea for TypeScript