I\'ve been looking at a few seed projects and all the components seem to have a index.ts that exports * from that component. I can\'t find anywhere what it\'s actually used
index.ts help us to keep all related thing together and we don't need to worry about the source file name.
We can import all thing by using source folder name.
import { getName, getAnyThing } from './util';
Here util is folder name not file name which has index.ts which re-export all four files.
export * from './util1';
export * from './util2';
export * from './util3';
export * from './util4';