Skip to content

Commit

Permalink
Fix slackapi#436 View type missing optional id from response
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Mar 24, 2020
1 parent 6df7d37 commit e4f1728
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/types/actions/block-action.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { PlainTextElement, Confirmation, Option, View } from '@slack/types';
import { PlainTextElement, Confirmation, Option } from '@slack/types';
import { StringIndexed } from '../helpers';
import { ViewOutput } from '../view';

/**
* All known actions from in Slack's interactive elements
Expand Down Expand Up @@ -225,7 +226,7 @@ export interface BlockAction<ElementAction extends BasicElementAction = BlockEle
text?: string; // undocumented that this is optional, but how could it exist on block kit based messages?
[key: string]: any;
};
view?: View;
view?: ViewOutput;
token: string;
response_url: string;
trigger_id: string;
Expand Down

0 comments on commit e4f1728

Please sign in to comment.