File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import type { Block , KnownBlock } from '@slack/types' ;
1+ import type { RichTextBlock } from '@slack/types' ;
22
33import type { TokenOverridable } from './common' ;
44
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ const web = new WebClient('TOKEN');
66
77// slackLists.create
88// -- sad path
9- expectError ( web . slacklists . create ( ) ) ; // lacking argument
10- expectError ( web . slacklists . create ( { } ) ) ; // missing name
9+ expectError ( web . slackLists . create ( ) ) ; // lacking argument
10+ expectError ( web . slackLists . create ( { } ) ) ; // missing name
1111
1212// -- happy path
13- expectAssignable < Parameters < typeof web . slacklists . create > > ( [
13+ expectAssignable < Parameters < typeof web . slackLists . create > > ( [
1414 {
1515 name : 'Backlog' ,
1616 } ,
You can’t perform that action at this time.
0 commit comments