Skip to content

ConfigToken

type ConfigToken<T> = intersection

Identifies a top-level section of the resolved Flare config object with type info.

Created via flareConfig. Used with this.config(token) on FlareBase subclasses and with the config resolver passed to inline handlers and builder callbacks.

The _type field is a phantom type: it exists only at compile time to carry the TypeScript type T through the token so that this.config(token) can return T.

Learn: Configuration

Last updated: