Build npm run build or npm run watch Editor If you use vscode, Press Windows + Shift + B it will build automatically Sources Reference on implementing HM: http://dev.stephendiehl.com/fun/006_hindley_milner.html