We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a5344a commit 4a732f7Copy full SHA for 4a732f7
2 files changed
packages/web-api/src/types/request/slacklists.ts
@@ -1,4 +1,4 @@
1
-import type { Block, KnownBlock } from '@slack/types';
+import type { RichTextBlock } from '@slack/types';
2
3
import type { TokenOverridable } from './common';
4
packages/web-api/test/types/methods/slacklists.test-d.ts
@@ -6,11 +6,11 @@ const web = new WebClient('TOKEN');
6
7
// slackLists.create
8
// -- sad path
9
-expectError(web.slacklists.create()); // lacking argument
10
-expectError(web.slacklists.create({})); // missing name
+expectError(web.slackLists.create()); // lacking argument
+expectError(web.slackLists.create({})); // missing name
11
12
// -- happy path
13
-expectAssignable<Parameters<typeof web.slacklists.create>>([
+expectAssignable<Parameters<typeof web.slackLists.create>>([
14
{
15
name: 'Backlog',
16
},
0 commit comments