Type alias ContextAccounts<A>
ContextAccounts<A>: { [K in A[number]["name"]]: (A[number] & { name: K; }) extends IdlAccounts ? ContextAccounts<NonNullable<(A[number] & { name: K; } & IdlAccounts)["accounts"]>> : Address}
Type Parameters
-
A extends IdlAccountItem[]