diff --git a/integration-tests/types/action.ts b/integration-tests/types/action.ts index 7b5088345..45b3c6455 100644 --- a/integration-tests/types/action.ts +++ b/integration-tests/types/action.ts @@ -5,27 +5,27 @@ const app = new App({ token: 'TOKEN', signingSecret: 'Signing Secret' }); // calling action method with incorrect an type constraint value should not work // $ExpectError -app.action({ type: 'Something wrong' }, ({ action }) => { - return action; +app.action({ type: 'Something wrong' }, async ({ action }) => { + console.log(action); }); // $ExpectType void app.action({ type: 'block_actions' }, async ({ action, // $ExpectType BlockElementAction }) => { - return action; + console.log(action); }); // $ExpectType void app.action({ type: 'interactive_message' }, async ({ action, // $ExpectType InteractiveAction }) => { - return action; + console.log(action); }); // $ExpectType void app.action({ type: 'dialog_submission' }, async ({ action, // $ExpectType DialogSubmitAction }) => { - return action; + console.log(action); });