On Sun, May 29, 2016 at 4:01 PM, Maël Nison <[email protected]> wrote:

> effectively exporting indirectly those symbols (since you need to parse
> the imported module to know which symbols will be available).


​The difference with `export * from '...';` syntax is that it doesn't
indirectly introduce named bindings into a scope. If you want a named
binding you must explicitly declare it. The reasons are numerous but a goal
is to keep as much of the module syntax statically analyzable.​ Using the
`import * as dotdotdot from '...';` syntax skirts this a bit and is in
place for usages precisely like your own.



- Matthew Robb
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to