@dpuse/dpuse-development 0.3.765 → 0.3.766

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7155,11 +7155,11 @@ function wa(e, t) {
7155
7155
  return o === void 0 ? e.typeToString(e.getBaseTypeOfLiteralType(e.getTypeOfSymbol(t)), n) : La(o);
7156
7156
  }
7157
7157
  function Ta(e, t, n) {
7158
- let r = (t.declarations ?? []).flatMap((e) => l.isClassDeclaration(e) || l.isInterfaceDeclaration(e) ? [...e.heritageClauses ?? []] : []).map((e) => `${e.token === l.SyntaxKind.ExtendsKeyword ? "extends" : "implements"} ${e.types.map((e) => e.getText()).join(", ")}`), i = t.declarations?.find((e) => l.isTypeAliasDeclaration(e)), a = i === void 0 ? void 0 : ka(i);
7158
+ let r = (t.declarations ?? []).flatMap((e) => l.isClassDeclaration(e) || l.isInterfaceDeclaration(e) ? [...e.heritageClauses ?? []] : []).map((e) => `${e.token === l.SyntaxKind.ExtendsKeyword ? "extends" : "implements"} ${e.types.map((e) => Ba(La(e))).join(", ")}`), i = t.declarations?.find((e) => l.isTypeAliasDeclaration(e)), a = i === void 0 ? void 0 : ka(i);
7159
7159
  if (i !== void 0 && a !== void 0) {
7160
- r.push(`inferred from ${a.getText()}`);
7160
+ r.push(`inferred from ${Ba(a.getText())}`);
7161
7161
  let t = Aa(e, i), o = t === void 0 ? [] : Ea(e, t, i.name.text, n);
7162
- o.length > 0 && r.push(`extends ${o.join(", ")}`);
7162
+ o.length > 0 && r.push(`extends ${o.map((e) => Ba(e)).join(", ")}`);
7163
7163
  }
7164
7164
  return r.length === 0 ? "" : ` (${r.join(", ")})`;
7165
7165
  }
@@ -7248,11 +7248,11 @@ function Ra(e, t) {
7248
7248
  return [`## ${e}`, ...n].join("\n\n");
7249
7249
  }
7250
7250
  function za({ description: e, detail: t, name: n, origin: r }) {
7251
- let i = `- **\`${n}\`**${t === "" ? "" : `\`${t}\``}${Ba(r)}`;
7252
- return e === void 0 ? i : `${i}\n > ${e}`;
7251
+ let i = t === "" ? "" : Ba(t), a = `- **${Ba(n)}**${i}${r}`;
7252
+ return e === void 0 ? a : `${a}\n > ${e}`;
7253
7253
  }
7254
7254
  function Ba(e) {
7255
- return e.replaceAll(/[\\`*<]|(?<![\da-z])_|_(?![\da-z])/gi, (e) => `\\${e}`);
7255
+ return `\`${e}\``;
7256
7256
  }
7257
7257
  //#endregion
7258
7258
  //#region src/actions/documentOpening.ts