Skip to content

Commit

Permalink
fix: ignore ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cussone committed Nov 1, 2024
1 parent ff8305d commit 96c06e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/connectors/argent/argentMobile/modal/starknet/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,14 @@ export class StarknetAdapter
}

on: StarknetWindowObject["on"] = (event, handleEvent) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this.eventEmitter.on(event, handleEvent)
}

off: StarknetWindowObject["off"] = (event, handleEvent) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this.eventEmitter.off(event, handleEvent)
}

Expand Down

0 comments on commit 96c06e1

Please sign in to comment.