ecspresso
    Preparing search index...

    Type Alias ComponentsOf<B>

    ComponentsOf: B extends {
        _cfg: { components: infer C extends Record<string, any> };
    }
        ? C
        : B extends { _cfg?: { components: infer C extends Record<string, any> } }
            ? C
            : never

    Extract the ComponentTypes from a Plugin or ECSpresso instance

    Type Parameters

    • B