We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de0d44 commit 5eab203Copy full SHA for 5eab203
bin/initialize.js
@@ -229,7 +229,9 @@ program
229
230
let result = {};
231
for (prop of propsWithTypes) {
232
- result[prop.match(/^[a-z0-9]+/ig)[0]] = prop.match(/:[a-z0-9]+/ig)[0].substring(1);
+ const match = prop.match(/^[a-z0-9]+|\*/ig);
233
+ const key = match[0] + (match[1] ? '*' : '');
234
+ result[key] = prop.match(/:[a-z0-9]+/ig)[0].substring(1);
235
};
236
237
propNames = propsWithoutTypes;
0 commit comments