Skip to content

Commit

Permalink
feat: 忽略jsdoc的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Sep 26, 2022
1 parent f9cc8be commit 96c12bf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ package-lock.json
.env.local

/test.js
repo/
docs/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "gulp build",
"api": "api-extractor run",
"docs:gen": "jsdoc -c jsdoc.json",
"docs:gen": "jsdoc -c jsdoc.json || true",
"test": "jest --coverage --verbose -u",
"lint": "eslint --ext .js,.ts --format=pretty ./src",
"lint:fix": "eslint --fix --ext .js,.ts --format=pretty ./src",
Expand Down
4 changes: 2 additions & 2 deletions src/base/list/parse-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function markMaxAndMinOfObj({ values, value, obj }) {

/**
* 获取相对上次的比例
* @param data
* @param data - 输入数据
*
* [{
* Project: { value: 'mj-match', name: 'Project' },
Expand All @@ -123,7 +123,7 @@ function markMaxAndMinOfObj({ values, value, obj }) {
},
}
}]
* @param preDataMap
* @param preDataMap - 上次数据的map
*
* {
'mj-match': {
Expand Down
2 changes: 1 addition & 1 deletion src/wecom-robot/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { sendToRobot } from './helper'
/**
* 给机器人发送普通消息
* @param config - { webhookUrl, chatId, alias, content }
* @returns
* @returns Promise
*/
export function sendWxRobotMsg({ webhookUrl, chatId, alias, content }) {
return new Promise((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion src/wecom-robot/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const axios = require('axios')
* 给机器人发消息的基本方法
*
* @param config - 包含webhookUrl, params
* @returns
* @returns Promise
*/
export function sendToRobot({ webhookUrl, params }): any {
return new Promise((resolve, reject) => {
Expand Down
1 change: 0 additions & 1 deletion src/wecom-robot/send-img.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { saveBase64ImgToFile, getImgMd5 } from '../node-img'
/**
* 发送企业微信机器人base64图片,其实就是先保存到本地,然后生成md5,最后发送
* @param param0
* @returns
*/
export async function sendWxRobotBase64Img({
img,
Expand Down

0 comments on commit 96c12bf

Please sign in to comment.