(str)
| 1372 | return `${name.join(' ')}: ${indentBlock(typeString)};`; |
| 1373 | }); |
| 1374 | |
| 1375 | if (indexSignatureMd) { |
| 1376 | indexSignatureMd.forEach((indexSignature) => { |
| 1377 | types?.unshift(indexSignature); |
| 1378 | }); |
| 1379 | } |
| 1380 | return types |
| 1381 | ? `\\{${shouldFormat ? `\n${types.join('')}` : ` ${types.join(' ')}`} \\}` |
| 1382 | : '\\{\\}'; |
| 1383 | } |
| 1384 | return '\\{\\}'; |
| 1385 | }, |
| 1386 | }; |
| 1387 | } |
| 1388 | } |
| 1389 |
no test coverage detected