SemanticDiagnostic
One problem the semantic pass found.
@internote/canvas-sdkOn this page
import { SemanticDiagnostic } from '@internote/canvas-sdk';#Fields
codeStable machine code, e.g. 'canvas/environment-cap'.
stringfileThe source file the offending node was written in, from its span.
stringlineThe line the offending node starts on, from its span.
numbermessageThe explanation shown to the author.
stringseverityWhether it fails the compilation (
error) or rides along with a successful one (warning).warningerrorDeclared in packages/canvas-sdk/src/semantic/canvas-pass.ts:91.