API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeChangeSceneArgs
Tuple type for `change()`'s single options parameter: present-and-required whenever `ChangeSceneOptions<Data>` has a required `data` field (`Data` is not `void`), optional otherwise. There is no runtime data/options ambiguity to resolve anymore - `data` always lives inside this one object, never as a separate positional argument (this supersedes the deleted two-argument `SetSceneArgs`).
import { ChangeSceneArgs } from '@codexo/exojs'Tuple type for `change()`'s single options parameter: present-and-required whenever `ChangeSceneOptions<Data>` has a required `data` field (`Data` is not `void`), optional otherwise. There is no runtime data/options ambiguity to resolve anymore - `data` always lives inside this one object, never as a separate positional argument (this supersedes the deleted two-argument `SetSceneArgs`).
[Data] extends [void] ? [options] : [options]