ecspresso
    Preparing search index...

    Type Alias TypedTweenTargetInput<C>

    TypedTweenTargetInput: {
        [K in keyof C & string]: {
            component: K;
            field: NumericPaths<C[K]>;
            from?: number;
            to: number;
        }
    }[keyof C & string]

    Discriminated union over component names: each variant constrains field to the numeric paths of that component. TS narrows inline object literals by component discriminant — zero runtime overhead.

    Type Parameters

    • C extends Record<string, any>