MCPcopy Index your code
hub / github.com/angular/angular / formatComment

Method formatComment

packages/compiler/src/typecheck/ops/codegen.ts:111–113  ·  view source on GitHub ↗

Format a comment string as a TypeScript comment.

(content: string | null)

Source from the content-addressed store, hash-verified

109
110 /** Format a comment string as a TypeScript comment. */
111 private formatComment(content: string | null): string {
112 return content === null || content.length === 0 ? '' : ` /*${content}*/`;
113 }
114}
115
116/**

Callers 1

printMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected