Skip to content

Commit

Permalink
fix(type): 导出类型枚举
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Mar 4, 2021
1 parent 66a297d commit 0ad08ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/push/cool-push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Debugger = debug('push:cool-push')
* 推送类型,见 [Cool Push](https://cp.xuthus.cc/)。
* 暂不支持 一对多推送/指定特定的qq号或者群/企业微信消息推送/钉钉群消息/邮箱消息推送
*/
type PushType = 'send' | 'group' | 'psend' | 'pgroup' | 'wx' | 'tg'
export type PushType = 'send' | 'group' | 'psend' | 'pgroup' | 'wx' | 'tg'

/**
* Cool Push QQ消息推送服务。使用说明见 [Cool Push](https://cp.xuthus.cc/)
Expand Down
2 changes: 1 addition & 1 deletion src/push/push-plus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Send } from '../interfaces/send'

const Debugger = debug('push:push-plus')

type TemplateType = 'html' | 'json' | 'cloudMonitor'
export type TemplateType = 'html' | 'json' | 'cloudMonitor'
/**
* pushplus 推送加开放平台,仅支持一对一推送。官方文档:http://pushplus.hxtrip.com/doc/
*
Expand Down
2 changes: 1 addition & 1 deletion src/push/wechat-robot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TextMsg } from './wechat/TextMsg'

const Debugger = debug('push:wechat-robot')

type MsgType = 'text' | 'markdown'
export type MsgType = 'text' | 'markdown'
type Msg = TextMsg | MarkdownMsg

/**
Expand Down

0 comments on commit 0ad08ce

Please sign in to comment.