MCPcopy
hub / github.com/prisma/prisma / getDeprecationString

Function getDeprecationString

packages/client-generator-ts/src/TSClient/jsdoc.ts:38–40  ·  view source on GitHub ↗
(since: string, replacement: string)

Source from the content-addressed store, hash-verified

36${comment}`
37}
38function getDeprecationString(since: string, replacement: string) {
39 return `@deprecated since ${since} please use \`${replacement}\``
40}
41const undefinedNote = `Note, that providing \`undefined\` is treated as the value not being there.
42Read more here: https://pris.ly/d/null-undefined`
43

Callers 1

jsdoc.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected