Update Type.js

Cannot convert int to null but now, I changed the null in a int.