[F] reportDeprecated
function reportDeprecated(   program,   message,   target): void;Report a deprecated diagnostic.
Parameters
Section titled “Parameters”| Parameter | Type | Description | 
|---|---|---|
| program | Program | TypeSpec Program. | 
| message | string | Message describing the deprecation. | 
| target | | DiagnosticTarget| typeofNoTarget | Target of the deprecation. | 
Returns
Section titled “Returns”void