Fixed assignTypes in mint.js.