Skip to content

Commit 61dc2fc

Browse files
lint
1 parent e784a61 commit 61dc2fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/routes/backend-wallet/sign-typed-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export async function signTypedData(fastify: FastifyInstance) {
6464
let parsedPrimaryType = primaryType;
6565
if (!parsedPrimaryType) {
6666
// try to detect the primary type, which requires removing the EIP712Domain type
67-
// @ts-expect-error - types is a record
68-
delete types.EIP712Domain;
67+
// biome-ignore lint/performance/noDelete: need to delete explicitely
68+
delete (types as unknown as Record<string, unknown>).EIP712Domain;
6969
parsedPrimaryType =
7070
ethers.utils._TypedDataEncoder.getPrimaryType(types);
7171
}

0 commit comments

Comments
 (0)