提交 e163ed4a 编写于 作者: L lijiarui 提交者: Huan (李卓桓)

fix #1079 (#1086)

上级 87ac384b
此差异已折叠。
......@@ -16,7 +16,7 @@
"scripts": {
"ts-node": "ts-node",
"dist": "npm run clean && tsc && shx cp src/puppet-web/*.js dist/src/puppet-web/",
"doc": "npm run dist && echo '# Wechaty v'$(jq -r .version package.json)' Documentation\n' > docs/index.md && jsdoc2md dist/src/{wechaty,room,contact,friend-request,message}.js dist/src/puppet-web/friend-request.js>> docs/index.md",
"doc": "npm run dist && echo '# Wechaty v'$(jq -r .version package.json)' Documentation\n' > docs/index.md && jsdoc2md dist/src/{wechaty,room,contact,friend-request,message}.js dist/src/puppet-web/{friend-request,schema}.js>> docs/index.md",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"changelog": "github_changelog_generator -u chatie -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node script/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md",
"doctor": "npm run check-node-version && ts-node bin/doctor",
......
......@@ -938,7 +938,7 @@ export class MediaMessage extends Message {
* The types of messages that can be forwarded are as follows:
*
* The return value of {@link Message#type} matches one of the following types:
* ```json
* ```
* MsgType {
* TEXT = 1,
* IMAGE = 3,
......@@ -951,7 +951,7 @@ export class MediaMessage extends Message {
* ```
*
* When the return value of {@link Message#type} is `MsgType.APP`, the return value of {@link Message#typeApp} matches one of the following types:
* ```json
* ```
* AppMsgType {
* TEXT = 1,
* IMG = 2,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册