MCPcopy
hub / github.com/prisma/prisma / docComment

Function docComment

packages/ts-builders/src/DocComment.ts:30–35  ·  view source on GitHub ↗
(firstParameter: string | TemplateStringsArray | undefined, ...args: string[])

Source from the content-addressed store, hash-verified

28function docComment(strings: TemplateStringsArray, ...args: string[]): DocComment
29function docComment(startingText?: string): DocComment
30function docComment(firstParameter: string | TemplateStringsArray | undefined, ...args: string[]): DocComment {
31 if (typeof firstParameter === 'string' || typeof firstParameter === 'undefined') {
32 return new DocComment(firstParameter)
33 }
34 return docCommentTag(firstParameter, args)
35}
36
37function docCommentTag(strings: TemplateStringsArray, args: string[]) {
38 const docComment = new DocComment()

Callers 5

Method.test.tsFile · 0.90
DocComment.test.tsFile · 0.90
Property.test.tsFile · 0.90

Calls 1

docCommentTagFunction · 0.85

Tested by

no test coverage detected