How to setup typescript with webpack 4