Thierry Templier
Thierry Templier

Reputation: 202176

Support of "export ... from" by the TypeScript compiler

Is the following export supported by the tsc compiler?

export {PromiseWrapper, Promise, PromiseCompleter}
              from 'angular2/src/facade/promise';

Thanks for your help!

Upvotes: 0

Views: 213

Answers (1)

MartyIX
MartyIX

Reputation: 28648

It is. You can have a look at the corresponding section in the TypeScript specification:

https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#11343-export-list-declarations

Upvotes: 2

Related Questions