MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / escapeChars

Function escapeChars

plugins/grok-theme/index.mjs:1374–1386  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

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

Callers 3

backTicksFunction · 0.85
getMemberMethod · 0.85
constructorMethod · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected