API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeChangeSceneArgs

@codexo/exojs / core / stable

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`).

0
props
0
methods
0
events
Import
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`).

Definition1
[Data] extends [void] ? [options] : [options]
Source