ecspresso
    Preparing search index...

    Type Alias ResourcesOf<B>

    ResourcesOf: B extends {
        _cfg: { resources: infer R extends Record<string, any> };
    }
        ? R
        : B extends { _cfg?: { resources: infer R extends Record<string, any> } }
            ? R
            : never

    Extract the ResourceTypes from a Plugin or ECSpresso instance

    Type Parameters

    • B