export const func1 = () => {}
export const func2 = () => {}
のときに
とするよりもimport { func1 } from 'path/to/1.ts' import { func2 } from 'path/to/2.ts'
のようにre-exportしてexport { func1 } from './1.ts' export { func2 } from './2.ts'
とすると情報がまとめられるimport { func1, func2 } from 'path/to'