vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias SharedCommandMap

    SharedCommandMap: [keyof GlobalCommands] extends [never]
        ? CommandMap
        : { [K in keyof GlobalCommands]: GlobalCommands[K] }

    The CommandMap the shared bus is typed with: GlobalCommands when augmented, the loose default CommandMap otherwise. Wrapped in a mapped type because interfaces have no implicit index signature and would fail the CommandMap constraint.