File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ declare global {
729
729
init ( endpoint : string ) : void ;
730
730
log ( message : { action : string ; data : unknown } ) : void ;
731
731
reloadPosts (
732
- postIds : string [ ] ,
732
+ postIds : number [ ] ,
733
733
includeComments ?: boolean
734
734
) : Promise < Record < number , JQuery > > ;
735
735
simulate ( message : string ) : void ;
Original file line number Diff line number Diff line change @@ -401,4 +401,6 @@ expectType<boolean>(realtime.pauseQuestionNotifications);
401
401
402
402
expectType < void > ( realtime . debug ( "message" ) ) ;
403
403
404
- expectType < void > ( realtime . genericSubscribe ( "event" , ( ) => void 0 ) ) ;
404
+ expectType < void > ( realtime . genericSubscribe ( "event" , ( ) => void 0 ) ) ;
405
+
406
+ expectError ( realtime . reloadPosts ( [ "1234" , "32" ] ) ) ;
You can’t perform that action at this time.
0 commit comments