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 1edbc44 commit 8a968f2Copy full SHA for 8a968f2
docgen/layouts/mixins/documentationjs/type.pug
@@ -27,8 +27,10 @@ mixin type(t)
27
| ]
28
else if t.type && t.type === 'RecordType'
29
|{
30
- for field in t.fields
+ for field, idxField in t.fields
31
+type(field)
32
+ if idxField < t.fields.length - 1
33
+ |,
34
|}
35
else if t.type && t.type === 'FieldType'
36
| !{t.key}:
0 commit comments