Skip to content

types/expand

@algorandfoundation/algokit-utils / types/expand

Table of contents

Type Aliases

Type Aliases

Expand

Ƭ Expand<T>: T extends (…args: infer A) => infer R ? (…args: Expand<A>) => Expand<R> : T extends infer O ? { [K in keyof O]: O[K] } : never

Expands types for IntelliSense so they are more human readable See https://stackoverflow.com/a/69288824

Type parameters

Name
T

Defined in

src/types/expand.ts:5