From f90797431d02d8baed87ce2792b5d98168648ced Mon Sep 17 00:00:00 2001 From: Huan LI Date: Sat, 28 Oct 2017 16:06:20 +0800 Subject: [PATCH] linting --- src/wechaty.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wechaty.ts b/src/wechaty.ts index a6bb48f8..cf0c862f 100644 --- a/src/wechaty.ts +++ b/src/wechaty.ts @@ -162,15 +162,15 @@ export class Wechaty extends EventEmitter implements Sayable { } /** - * Return version of Wechaty - * - * @param {boolean} [forceNpm=false] - if set to true, will only return the version in package.json. - * otherwise will return git commit hash if .git exists. - * @returns {string} - the version number - * @example - * console.log(Wechaty.instance().version()) // return '#git[af39df]' - * console.log(Wechaty.instance().version(true)) // return '0.7.9' - */ + * Return version of Wechaty + * + * @param {boolean} [forceNpm=false] - if set to true, will only return the version in package.json. + * otherwise will return git commit hash if .git exists. + * @returns {string} - the version number + * @example + * console.log(Wechaty.instance().version()) // return '#git[af39df]' + * console.log(Wechaty.instance().version(true)) // return '0.7.9' + */ public version(forceNpm?) { return Wechaty.version(forceNpm) } -- GitLab