From dfc4bd6d13e91db00552974fe664ebdcaf4356eb Mon Sep 17 00:00:00 2001 From: stepancar Date: Fri, 2 Mar 2018 16:19:22 +0300 Subject: [PATCH] fix(*): fix array typings --- typings/stringify-component-definition.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/stringify-component-definition.js b/typings/stringify-component-definition.js index bc7f17c..003019d 100644 --- a/typings/stringify-component-definition.js +++ b/typings/stringify-component-definition.js @@ -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) {