November 2019
Beginner
804 pages
20h 1m
English
It is also possible to re-export symbols exported by other modules:
// my-module-with-reexports.ts
export {log, Message, MessageType} from "./my-utils-module";
In the preceding example, we did nothing in the module apart from re-exporting the symbols of another module. This is particularly useful when defining public APIs for parts of your applications.
Finally, it is also possible to re-export everything from a module using the following syntax: export * from ....
Read now
Unlock full access