UNPKG

@xlink-network/xlink-sdk

Version:
7 lines (5 loc) 225 B
type UnboxPromise<T> = T extends PromiseLike<infer R> ? R : never; declare function props<I extends Record<string, any>>(inputs: I): Promise<{ [K in keyof I]: UnboxPromise<I[K]>; }>; export { type UnboxPromise, props };