Skip to content

Commit

Permalink
Merge ca7b4a6 into 7d8654c
Browse files Browse the repository at this point in the history
  • Loading branch information
khrj authored Mar 7, 2021
2 parents 7d8654c + ca7b4a6 commit 744bd8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ export default class App {
*
* @param args receiver-specific start arguments
*/
public start(...args: Parameters<HTTPReceiver['start']>): ReturnType<HTTPReceiver['start']> {
public start(
...args: Parameters<HTTPReceiver['start'] | SocketModeReceiver['start']>
): ReturnType<HTTPReceiver['start']> {
return this.receiver.start(...args) as ReturnType<HTTPReceiver['start']>;
}

Expand Down

0 comments on commit 744bd8b

Please sign in to comment.