Skip to content

Type Alias: Diagnostic ​

ts
type Diagnostic = object;

Defined in: validate/validate-operations.ts:23

A single finding produced by validateOperations.

Properties ​

code ​

ts
code: string;

Defined in: validate/validate-operations.ts:27

Stable machine-readable code, e.g. no-core-operation.


message ​

ts
message: string;

Defined in: validate/validate-operations.ts:29

Human-readable explanation.


opIndex? ​

ts
opIndex?: number;

Defined in: validate/validate-operations.ts:31

Index into the validated operations array, when applicable.


severity ​

ts
severity: DiagnosticSeverity;

Defined in: validate/validate-operations.ts:25

Severity of the finding.