File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ declare module 'pal/minigame' {
7979 offFeedStatusChange ( cb ?: ( type : string ) => void ) : void ;
8080 storeFeedData ( opt : storeFeedDataOptions ) : void ;
8181 getFeedData ( opt : getFeedDataOptions ) : void ;
82+ setEnableDebug ?( parm : DebugParameter ) : void ;
83+ notifyMiniProgramPlayableStatus ?( parm : notiOptions ) : void ;
8284 }
8385
8486 interface WeChatAPI {
@@ -431,3 +433,16 @@ interface getFeedDataOptions {
431433 fail ?: ( failObj : commonFailObj ) => void ,
432434 complete ?: ( ) => void ,
433435}
436+
437+ export interface DebugParameter {
438+ setEnableDebug : boolean ,
439+ success ?: ( ) => void ,
440+ fail ?: ( err : any ) => void ,
441+ complete ?: ( ) => void ,
442+ }
443+
444+ export interface notiOptions {
445+ success ?: ( ) => void ,
446+ fail ?: ( err : any ) => void ,
447+ complete ?: ( ) => void ,
448+ }
You can’t perform that action at this time.
0 commit comments