types/expand
@algorandfoundation/algokit-utils / types/expand
Table of contents
Section titled “Table of contents”Type Aliases
Section titled “Type Aliases”Type Aliases
Section titled “Type Aliases”Expand
Section titled “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
Section titled “Type parameters”| Name |
|---|
T |