Skip to content

Commit

Permalink
removed the SerdeJsonValue type and added any
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiva953 committed Dec 31, 2023
1 parent 5192e32 commit baac589
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions ts/packages/anchor/src/idl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,9 @@ export type IdlSeed =
export type IdlSeedConst = {
kind: "const";
type: IdlType;
value: SerdeJsonValue;
value: any;
};

export type SerdeJsonValue =
| null
| boolean
| number
| string
| SerdeJsonValue[]
| { [key: string]: SerdeJsonValue };

export type IdlSeedArg = {
kind: "arg";
type: IdlType;
Expand All @@ -96,7 +88,7 @@ export type IdlSeedArg = {
export type IdlSeedAccount = {
kind: "account";
type: IdlType;
account?: string; // Adjust the type based on the actual type of account in your use case
account?: string;
path: string;
};

Expand Down

0 comments on commit baac589

Please sign in to comment.