add ts files to index.js