This is a cli command for generating index files automatically on any existing typescript project
npm install -g index-populator
Go to src
or any other source folder and just call the script as index-populator
this will automatically add a index.ts file on all child folders