From d01b3290b197e3886a76170ddb8b94f1e0a4a3f1 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Fri, 1 Sep 2017 00:04:45 +0800 Subject: [PATCH] fix(promisify) use generic typing --- script/update-license.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/update-license.ts b/script/update-license.ts index e63eedb7..f05bf9c4 100755 --- a/script/update-license.ts +++ b/script/update-license.ts @@ -3,7 +3,7 @@ const LICENSE = `/** * Wechaty - https://github.com/chatie/wechaty * - * Copyright 2016-2017 Huan LI + * @copyright 2016-2017 Huan LI * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -134,7 +134,7 @@ async function updateLicense(file: string): Promise { } async function glob(pattern): Promise { - return promisify(globCallback)(pattern) + return promisify(globCallback)(pattern) } async function main(): Promise { -- GitLab