(comment: string, docs: keyof typeof Docs)
| 31 | } |
| 32 | |
| 33 | function addLinkToDocs(comment: string, docs: keyof typeof Docs) { |
| 34 | return `${Docs[docs]} |
| 35 | |
| 36 | ${comment}` |
| 37 | } |
| 38 | function getDeprecationString(since: string, replacement: string) { |
| 39 | return `@deprecated since ${since} please use \`${replacement}\`` |
| 40 | } |