add support for "array-style" type declarations
Merge branch 'array-style-type-defs'