I have setup a starter kit with TypeScript + WebPack, which has all configuration set along with testing using jest.
Here is the git repository: https://github.com/anjan011/typescript-webpack-starter-kit
Here is what you need to do. First create your project directory, lets say it is named new-ts-project
Then we will do a git clone from inside that directory. Note: the directory needs to be empty or GIT will have issues! Run this command –
git clone https://github.com/anjan011/typescript-webpack-starter-kit.git .
After, this do the done and dusted npm install –
npm install
Then you can start the development server using this command (assuming you did not encounter any errors during npm install) –
npm run serve
One the development server is up and running, you will get to see this index.html from /demo directory like this –

This means your starter it is now ready to go. Checkout the /src/ts/index.ts TypeScript file. As that is the main file on this new project. Happy coding!