[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 | typeof NoTarget | Target of the deprecation. |
Returns
Section titled “Returns”void