Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
yehjxraymond committed Jul 24, 2020
1 parent 637b3fb commit ec19fcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Contract, ContractReceipt, ContractTransaction } from "ethers";
import { Contract, ContractTransaction } from "ethers";
import { useCallback, useState } from "react";
import { ContractReceipt } from "ethers/contract";

export type ContractFunctionState = "UNINITIALIZED" | "INITIALIZED" | "PENDING_CONFIRMATION" | "CONFIRMED" | "ERROR";
type UnwrapPromise<T> = T extends Promise<infer U> ? U : T;
Expand Down

0 comments on commit ec19fcb

Please sign in to comment.