fix type miss

fix https://github.com/galkahana/HummusJS/issues/1.

please merge.