Revert "ts: Add data type to clients in `AccountNamespace` (#1358)" (#1739)

This commit is contained in:
Armani Ferrante 2022-04-06 15:39:41 -04:00 committed by GitHub
parent 423223d5bf
commit a89d2468d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ type NullableIdlAccount<IDL extends Idl> = IDL["accounts"] extends undefined
* For the full API, see the [[AccountClient]] reference. * For the full API, see the [[AccountClient]] reference.
*/ */
export type AccountNamespace<IDL extends Idl = Idl> = { export type AccountNamespace<IDL extends Idl = Idl> = {
[M in keyof AllAccountsMap<IDL>]: AccountClient<IDL, AllAccountsMap<IDL>[M]>; [M in keyof AllAccountsMap<IDL>]: AccountClient<IDL>;
}; };
export class AccountClient< export class AccountClient<