aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/types.ts b/src/types.ts
index 8c9e9ad5d..5be64da53 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -281,5 +281,9 @@ export interface ContractEventEmitter {
watch: (eventCallback: EventCallback) => void;
stopWatchingAsync: () => Promise<void>;
}
-
+/**
+ * We re-export the `Web3.Provider` type specified in the Web3 Typescript typings
+ * since it is the type of the `provider` argument to the `ZeroEx` constructor.
+ * It is however a `Web3` library type, not a native `0x.js` type.
+ */
export type Web3Provider = Web3.Provider;