interface LegacyAddHookFunction<Fn> {
    <This>(this, hook): This;
    <This>(this, listenerName, hook): This;
}

Type Parameters

  • Fn