diff --git a/.changeset/wise-spoons-knock.md b/.changeset/wise-spoons-knock.md new file mode 100644 index 00000000..deacca5d --- /dev/null +++ b/.changeset/wise-spoons-knock.md @@ -0,0 +1,5 @@ +--- +"permissionless": patch +--- + +Fixed typescript error to name all tuple members diff --git a/packages/permissionless/types/pimlico.ts b/packages/permissionless/types/pimlico.ts index ac7c70d0..be7d3b4a 100644 --- a/packages/permissionless/types/pimlico.ts +++ b/packages/permissionless/types/pimlico.ts @@ -131,7 +131,11 @@ export type PimlicoRpcSchema< }, { Method: "pimlico_getTokenQuotes" - Parameters: [{ tokens: Address[] }, entryPoint: Address, chainId: Hex] + Parameters: [ + tokens: { tokens: Address[] }, + entryPoint: Address, + chainId: Hex + ] ReturnType: GetTokenQuotesWithBigIntAsHex } ]