From 8830a1114de124bdffc697b9beebc29099f71a47 Mon Sep 17 00:00:00 2001 From: matthewkeil Date: Wed, 10 Apr 2024 23:30:11 +0700 Subject: [PATCH] chore: fix lint --- src/herumi/context.ts | 1 + src/herumi/web.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/herumi/context.ts b/src/herumi/context.ts index f95ed9a..640f9a4 100644 --- a/src/herumi/context.ts +++ b/src/herumi/context.ts @@ -21,6 +21,7 @@ export async function setupBls(): Promise { if (typeof window === "object") { const crypto = window.crypto || window.msCrypto; // getRandomValues is not typed in `bls-eth-wasm` because it's not meant to be exposed + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore bls.getRandomValues = (x) => crypto.getRandomValues(x); } diff --git a/src/herumi/web.ts b/src/herumi/web.ts index 12f285b..2c153c1 100644 --- a/src/herumi/web.ts +++ b/src/herumi/web.ts @@ -3,5 +3,6 @@ import {bls} from "./index.js"; // eslint-disable-next-line @typescript-eslint/no-explicit-any (function (window: any) { window.bls = bls; + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore })(window);