Import wildcards

Matthew Robb matthewwrobb at
Mon May 30 16:02:39 UTC 2016

On Sun, May 29, 2016 at 4:01 PM, Maël Nison <nison.mael at> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list