Create barrel files or focused module facades.
Section: Modules and Imports
Re-export from another module
typescript
typescript
export { add, subtract } from "./math";
export type { MathOptions } from "./types";Explanation
Barrel files can simplify imports, but use them thoughtfully to avoid confusing dependency graphs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Modules and Imports