registerReporter Method

Registers a IDiagnosticReporter allowing the reporter to be notified when a IDiagnostic is created due to a rule violation.

registerReporter(...reporters: IDiagnosticReporter[]): void

Parameter Type Description
...reporters IDiagnosticReporter[]  

Returns - void

Defined in

Last Updated: 16 April, 2024