ecspresso
    Preparing search index...

    Type Alias ChannelOfWorld<W>

    ChannelOfWorld: W extends {
        _cfg: {
            components: { audioSource: { channel: infer Ch extends string } };
        };
    }
        ? Ch
        : string

    Extract the channel type from a world's AudioSource component. Falls back to string if the world has no audioSource component.

    Type Parameters

    • W