added to types.js
Merge pull request #31 from wanderer/master

added array to types.js