DiagnosticChangedEventArgs type

调用“diagnosticChanged”事件的侦听器参数

  • 值为 DiagnosticQuality 或 DiagnosticFlag:
    • DiagnosticQuality = enum { Good = 1, Poor = 2, Bad = 3 }.
    • DiagnosticFlag = true |假。
  • valueType = 'DiagnosticQuality' |“DiagnosticFlag”
type DiagnosticChangedEventArgs = {
  value: DiagnosticQuality | DiagnosticFlag
  valueType: DiagnosticValueType
}