API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typePreloadArgs
@codexo/exojs / core / stable
Tuple type for the variadic tail of `preload()` calls, after the target constructor - mirrors ChangeSceneArgs's conditional-arity trick: when `Data` is `void` the options argument itself is optional (nothing to supply), otherwise it's required so a data-carrying scene can't be preloaded without its data.
0
props
0
methods
0
events
Import
import { PreloadArgs } from '@codexo/exojs'Tuple type for the variadic tail of `preload()` calls, after the target constructor - mirrors ChangeSceneArgs's conditional-arity trick: when `Data` is `void` the options argument itself is optional (nothing to supply), otherwise it's required so a data-carrying scene can't be preloaded without its data.
Definition1
[Data] extends [void] ? [options] : [options]Source