Skip to content

Function

Michael Poteat edited this page Feb 27, 2023 · 3 revisions

hkt-toolbelt / Function

Namespace: Function

Interfaces

Type Aliases

Function

Ƭ Function: (...x: never[]) => unknown

Type declaration

▸ (...x): unknown

Parameters
Name Type
...x never[]
Returns

unknown

Defined in

function/function.ts:1


_$returnType

Ƭ _$returnType<T>: T extends (...args: never[]) => infer R ? R : never

Type parameters

Name
T

Defined in

function/return-type.ts:3

Clone this wiki locally