diff --git a/ts/packages/anchor/src/idl.ts b/ts/packages/anchor/src/idl.ts index f990f2c909..c4e149f3f6 100644 --- a/ts/packages/anchor/src/idl.ts +++ b/ts/packages/anchor/src/idl.ts @@ -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; @@ -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; };