Skip to main content

Type Alias: Hook<T, V>

Hook<T, V> = (contextOrPath) => Promise<V> | V

Type Parameters

T

T

V

V

Parameters

contextOrPath

T

Returns

Promise<V> | V