Skip to content

TilemapDiagnostic

Defined in: tilemap/src/types.ts:17

code: TilemapDiagnosticCode

Defined in: tilemap/src/types.ts:18


optional layer?: string

Defined in: tilemap/src/types.ts:30

Layer name, when the diagnostic is about a layer.


message: string

Defined in: tilemap/src/types.ts:20

Sentence naming what was found and what it costs.


severity: "error" | "warning"

Defined in: tilemap/src/types.ts:28

"error": authored content is dropped or will render wrong. "warning": an authored setting the renderer ignores.

Neither stops the map from rendering: what a diagnostic names is skipped and everything else draws.


optional tileset?: string

Defined in: tilemap/src/types.ts:32

Tileset name or source, when the diagnostic is about a tileset.