MCPcopy Index your code
hub / github.com/github/copilot-sdk / sanitizeJsDocText

Function sanitizeJsDocText

scripts/codegen/typescript.ts:59–61  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

57}
58
59function sanitizeJsDocText(text: string): string {
60 return text.trim().replace(/\*\//g, "* /");
61}
62
63function tsDocCommentText(text: string): string {
64 const lines = sanitizeJsDocText(text).split(/\r?\n/);

Callers 1

tsDocCommentTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…