diff --git a/src/Property.ts b/src/Property.ts index 3014d83..489553d 100644 --- a/src/Property.ts +++ b/src/Property.ts @@ -150,6 +150,10 @@ export default class Property { setType(type : string) { this.type = type; + + if (type.indexOf('[]') > 0) { + type = 'array'; + } if (this.isValidTypeHint(type)) { this.typeHint = type;