aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/src/utils/promisify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/utils/promisify.ts b/packages/0x.js/src/utils/promisify.ts
index 1eb1bf29f..49024c0e9 100644
--- a/packages/0x.js/src/utils/promisify.ts
+++ b/packages/0x.js/src/utils/promisify.ts
@@ -10,7 +10,7 @@ export function promisify<T>(
...args: any[],
// HACK: This can't be properly typed without variadic kinds https://github.com/Microsoft/TypeScript/issues/5453
) => void,
- target: any,
+ target?: any,
): (...callArgs: any[]) => Promise<T> {
const promisifiedFunction = async (...callArgs: any[]): Promise<T> => {
return new Promise<T>((resolve, reject) => {