Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Apr 10, 2024
1 parent e95ae37 commit 8830a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/herumi/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export async function setupBls(): Promise<void> {
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);
}
Expand Down
1 change: 1 addition & 0 deletions src/herumi/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 8830a11

Please sign in to comment.