MCPcopy Index your code
hub / github.com/angular/components / getDeprecationMessage

Function getDeprecationMessage

tools/dgeni/common/decorators.ts:92–95  ·  view source on GitHub ↗
(doc: ApiDoc)

Source from the content-addressed store, hash-verified

90}
91
92export function getDeprecationMessage(doc: ApiDoc): string | null {
93 const deprecatedMessage = findJsDocTag(doc, 'deprecated');
94 return deprecatedMessage ? deprecatedMessage.description : null;
95}
96
97/**
98 * Decorates public exposed docs. Creates a property on the doc that indicates whether

Callers 1

decorateDeprecatedDocFunction · 0.85

Calls 1

findJsDocTagFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…