SemanticDiagnostic

One problem the semantic pass found.

@internote/canvas-sdkInterface
On this page
import { SemanticDiagnostic } from '@internote/canvas-sdk';

#Fields

codeRequired
Stable machine code, e.g. 'canvas/environment-cap'.
string
file
The source file the offending node was written in, from its span.
string
line
The line the offending node starts on, from its span.
number
messageRequired
The explanation shown to the author.
string
severityRequired
Whether it fails the compilation (error) or rides along with a successful one (warning).
warningerror

Declared in packages/canvas-sdk/src/semantic/canvas-pass.ts:91.

Last updated