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 d4979b7 commit 7127736Copy full SHA for 7127736
lib/utils.js
@@ -142,17 +142,9 @@ module.exports.parseData = function (data, file) {
142
143
methods.tags.forEach(function (tag) {
144
145
- if (tag.types) {
+ if (tag.name && tag.optional) {
146
147
- tag.types.forEach(function (type, index) {
148
-
149
- if (type.match(/\?/g)) {
150
151
- tag.types[index] = type.replace(/\?/g, '');
152
153
- }
154
155
- });
+ tag.name = tag.name.replace(/^\[|\]$/g, '');
156
157
}
158
0 commit comments