added array to types.js

 this is for issue #30