UNPKG

@mapbox/mapbox-gl-style-spec

Version:

a specification for mapbox gl styles

14 lines (11 loc) 345 B
import type {Expression} from '../expression/expression'; export type ConfigOptionValue = { default: Expression; value?: Expression; values?: Array<unknown>; minValue?: number; maxValue?: number; stepValue?: number; type?: 'string' | 'number' | 'boolean' | 'color'; }; export type ConfigOptions = Map<string, ConfigOptionValue>;