Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ export default class JPush {

/**
* 初始化推送服务
* {"appKey":"","channel":"dev","production":1}
* {"appKey":"","channel":"dev","production":false}
* 请在componentDidMount()调用init,否则会影响通知点击事件的回调
*
*/
static init(params: {
appKey: string;
titchannelle: string;
channel: string;
production: boolean;
}): void;

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class JPush {

/*
* 初始化推送服务
* {"appKey":"","channel":"dev","production":1}
* {"appKey":"","channel":"dev","production":false}
* 请在componentDidMount()调用init,否则会影响通知点击事件的回调
* */
static init(params) {
Expand Down