Skip to content

Commit

Permalink
change abi type to any
Browse files Browse the repository at this point in the history
  • Loading branch information
Creskendoll committed Mar 30, 2022
1 parent 0604789 commit 58c5e0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/svelte-web3.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Readable } from "svelte/store";
import Web3 from "web3";
import { provider } from "web3-core";
import { AbiItem } from "web3-utils";
import { ContractOptions, Contract } from "web3-eth-contract";

declare module "svelte-web3" {
Expand Down Expand Up @@ -119,13 +118,13 @@ declare module "svelte-web3" {
/**
* Allows you to create a Svelte derived store of a web3.eth.Contract object instance.
* It takes the same parameters as a ̀new web3.eth.Contract` call.
* @param jsonInterface The contract ABI array
* @param jsonInterface The contract ABI
* @param address The contract address
* @param options The contract options
* @returns A Svelte derived store of a web3.eth.Contract object instance
*/
function makeContractStore(
jsonInterface: AbiItem[],
jsonInterface: any,
address?: string,
options?: ContractOptions
): Readable<Contract>;
Expand Down

0 comments on commit 58c5e0e

Please sign in to comment.