utilium
    Preparing search index...

    Type Alias Bound<T, This>

    Bound: T & {
        [k in keyof T]: T[k] extends (...args: any[]) => any
            ? (this: This, ...args: Parameters<T[k]>) => ReturnType<T[k]>
            : T[k]
    }

    An object T with all of its functions bound to a This value

    Type Parameters

    • T extends object
    • This = any