Skip to content

[F] reportDeprecated

function reportDeprecated(
program,
message,
target): void

Report a deprecated diagnostic.

Parameters

ParameterTypeDescription
programProgramTypeSpec Program.
messagestringMessage describing the deprecation.
targetDiagnosticTarget | typeof NoTargetTarget of the deprecation.

Returns

void