Skip to content

@mastondzn/dank-twitch-irc / OverrideFunction

Type Alias: OverrideFunction<S, T, K>

OverrideFunction<S, T, K> = (this, oldFunction, ...args) => ReturnType<T[K]>

Defined in: src/utils/apply-function-replacements.ts:4

Type Parameters

S

S

T

T extends Record<string, any>

K

K extends keyof T

Parameters

this

S

oldFunction

T[K]

args

...Parameters<T[K]>

Returns

ReturnType<T[K]>