Skip to main content

Type Alias: SpecPatchTarget

SpecPatchTarget = "layer" | "source" | "mapData"

Defined in: runtime/adapter.ts:53

The set of targets recognised by applyPatch at runtime. 'view' and 'style' mutations must be applied via runtime.update(spec), not via applyPatch — they are intentionally excluded here so callers receive a compile-time error instead of a silent runtime warning.