We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e784a61 commit 61dc2fcCopy full SHA for 61dc2fc
src/server/routes/backend-wallet/sign-typed-data.ts
@@ -64,8 +64,8 @@ export async function signTypedData(fastify: FastifyInstance) {
64
let parsedPrimaryType = primaryType;
65
if (!parsedPrimaryType) {
66
// try to detect the primary type, which requires removing the EIP712Domain type
67
- // @ts-expect-error - types is a record
68
- delete types.EIP712Domain;
+ // biome-ignore lint/performance/noDelete: need to delete explicitely
+ delete (types as unknown as Record<string, unknown>).EIP712Domain;
69
parsedPrimaryType =
70
ethers.utils._TypedDataEncoder.getPrimaryType(types);
71
}
0 commit comments