Interface LegacyAddHookFunction<Fn>
LegacyAddHookFunction<This extends object>(this: This, hook: Fn): This LegacyAddHookFunction<This extends object>( this: This, listenerName: string, hook: Fn,): This Parameters
- this: This
- listenerName: string
- hook: Fn
Adds a hook listener