Skip to content

bindAllMethods

bindAllMethods(instance, excludePrefixes, excludeMethodNames): void

Defined in: utils/bind.ts:63

Binds all methods of an instance to the instance.

Parameters

instance

any

The instance to which the methods should be bound.

excludePrefixes

string[] = []

An array of prefixes to exclude from the method names.

excludeMethodNames

string[] = []

An array of method names to exclude.

Returns

void