Skip to content

Commit

Permalink
fix(*): fix array typings
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancar committed Mar 2, 2018
1 parent 59d2dd1 commit dfc4bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/stringify-component-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function stringifyType(type, componentName, propName, typeRefs) {
}

function stringifyArray(type, componentName, propName, typeRefs) {
return `${stringifyType(type.value, componentName, propName, typeRefs)}[]`;
return `Array<${stringifyType(type.value, componentName, propName, typeRefs)}>`;
}

function stringifyEnum(type) {
Expand Down

0 comments on commit dfc4bd6

Please sign in to comment.