Skip to content

bindMethods

bindMethods(instance, …methodNames): void

Defined in: utils/bind.ts:10

Binds the provided methods to the provided instance.

Parameters

instance

unknown

The instance to which the methods should be bound.

methodNames

string[]

The names of the methods to bind.

Returns

void