Skip to content

OverlayControllerFor

OverlayControllerFor<V> = V extends (props) => OverlayConfig ? (props) => OverlayController : OverlayController

Defined in: asset.ts:767

The controller type for one createOverlays value: a static input (string/element/config) yields a plain OverlayController; a config factory yields a (props) => OverlayController so props are passed at the call site. A static input is never callable, so it never matches the factory arm: existing static maps keep exactly today’s controller type.

V