aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/0x.js/src/utils/promisify.ts2
-rw-r--r--packages/typed-contracts/package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/utils/promisify.ts b/packages/0x.js/src/utils/promisify.ts
index 8021a3c9f..1eb1bf29f 100644
--- a/packages/0x.js/src/utils/promisify.ts
+++ b/packages/0x.js/src/utils/promisify.ts
@@ -12,7 +12,7 @@ export function promisify<T>(
) => void,
target: any,
): (...callArgs: any[]) => Promise<T> {
- const promisifiedFunction = (...callArgs: any[]): Promise<T> => {
+ const promisifiedFunction = async (...callArgs: any[]): Promise<T> => {
return new Promise<T>((resolve, reject) => {
const callback = (err: Error|null, data?: T) => {
_.isNull(err) ? resolve(data) : reject(err);
diff --git a/packages/typed-contracts/package.json b/packages/typed-contracts/package.json
index 59bf55a38..6d8aa5016 100644
--- a/packages/typed-contracts/package.json
+++ b/packages/typed-contracts/package.json
@@ -5,7 +5,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
- "lint": "tslint --project . 'src/*.ts'",
+ "lint": "tslint --project . 'src/**/*.ts'",
"clean": "shx rm -rf lib",
"build": "tsc"
},