@metreeca/blue - v0.10.0
    Preparing search index...

    Type Alias Inheritance<C>

    Inheritance: C extends {
        extends: infer E extends
            | Lazy<ResourceShape>
            | readonly [Lazy<ResourceShape>, ...Lazy<ResourceShape>[]];
    }
        ? Declared<Intersected<Schema<E extends readonly (infer S)[] ? S : E>>>
        : {}

    Resolves the inherited template contributed by a resource's extends clause.

    Reads each parent shape's complete template via Schema, merges the contributions across multiple parents via Intersected, and strips index signatures via Declared so that Override checks against concrete inherited entries only. Yields {} when extends is not declared.

    Type Parameters

    • C

      The constraints type to inspect