diagnostics overview
Added in v1.0.0
Table of contents
utils
DiagnosticWriter (type alias)
Signature
export type DiagnosticWriter = {
/**
* @since 1.0.0
*/
format: (diagnostic: ts.Diagnostic) => string
/**
* @since 1.0.0
*/
print: (diagnostic: ts.Diagnostic) => void
}
Added in v1.0.0
createDiagnosticWriter
Signature
export declare function createDiagnosticWriter(write?: (message: string) => void): DiagnosticWriter
Added in v1.0.0