typescript export imported code example
Example: typescript export import in the same time
// ./User.ts
...
export default a
export default b
// modules-hub.ts
export * from './User.ts'
export * from './Shop.ts'
// Usage
import { a, b } from '../modules-hub.ts'