CompileDiagnostic
interfaz
Error de compilación con ubicación y código estable para herramientas.
ts
import type { CompileDiagnostic } from "@meekojs/meeko/parse";Código fuente src/compiler/parser/sfc.ts:14
Declaración #
ts
interface CompileDiagnostic {
code: string
message: string
filename: string
location: SourceLocation
severity?: 'warning'
}Propiedades #
code
#
code: string
message
#
message: string
filename
#
filename: string
location
#
location: SourceLocation
severity
#
severity?: 'warning'"warning" en un aviso, que no hace fallar meeko check; sin el campo, es un error.