ecspresso
    Preparing search index...
    SheetAnimationKeys: S extends { animations: infer A }
        ? A extends Record<infer K, unknown>
            ? K extends string ? K : never
            : string
        : string

    Extract the animation-name union from a typed SpritesheetData. Falls back to string for untyped sheets.

    Type Parameters

    • S extends SpritesheetData