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 is similar index.js in nodejs or index.html is web site hosting.
So when you say import {} from 'directory_name' it will look for index.ts inside the specified directory and import whatever is exported there.
For example if you have calculator/index.ts as
export function add() {...}
export function multiply() {...}
You can do
import { add, multiply } from './calculator';