@@ -380,10 +380,7 @@ export class FeedsClient extends FeedsApi {
380380 return Promise . resolve ( ) ;
381381 } ;
382382
383- connectUser = async (
384- user : UserRequest | { id : '!anon' } ,
385- tokenProvider ?: TokenOrProvider ,
386- ) => {
383+ connectUser = async ( user : UserRequest , tokenProvider : TokenOrProvider ) => {
387384 this . checkIfUserIsConnected ( ) ;
388385
389386 this . tokenManager . setTokenOrProvider ( tokenProvider ) ;
@@ -500,7 +497,9 @@ export class FeedsClient extends FeedsApi {
500497 return response ;
501498 } ;
502499
503- deleteComment = async ( ...args : Parameters < FeedsApi [ 'deleteComment' ] > ) : Promise < StreamResponse < DeleteCommentResponse > > => {
500+ deleteComment = async (
501+ ...args : Parameters < FeedsApi [ 'deleteComment' ] >
502+ ) : Promise < StreamResponse < DeleteCommentResponse > > => {
504503 const response = await super . deleteComment ( ...args ) ;
505504 const { activity, comment } = response ;
506505 for ( const feed of this . allActiveFeeds ) {
@@ -542,7 +541,9 @@ export class FeedsClient extends FeedsApi {
542541 return this . addActivityReaction ( request ) ;
543542 } ;
544543
545- deleteActivityReaction = async ( ...args : Parameters < FeedsApi [ 'deleteActivityReaction' ] > ) : Promise < StreamResponse < DeleteActivityReactionResponse > > => {
544+ deleteActivityReaction = async (
545+ ...args : Parameters < FeedsApi [ 'deleteActivityReaction' ] >
546+ ) : Promise < StreamResponse < DeleteActivityReactionResponse > > => {
546547 const response = await super . deleteActivityReaction ( ...args ) ;
547548 for ( const feed of this . allActiveFeeds ) {
548549 handleActivityReactionDeleted . bind ( feed ) ( response , false ) ;
@@ -565,7 +566,9 @@ export class FeedsClient extends FeedsApi {
565566 return response ;
566567 } ;
567568
568- deleteCommentReaction = async ( ...args : Parameters < FeedsApi [ 'deleteCommentReaction' ] > ) : Promise < StreamResponse < DeleteCommentReactionResponse > > => {
569+ deleteCommentReaction = async (
570+ ...args : Parameters < FeedsApi [ 'deleteCommentReaction' ] >
571+ ) : Promise < StreamResponse < DeleteCommentReactionResponse > > => {
569572 const response = await super . deleteCommentReaction ( ...args ) ;
570573 for ( const feed of this . allActiveFeeds ) {
571574 handleCommentReactionDeleted . bind ( feed ) ( response , false ) ;
0 commit comments