Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixes typing #126

Merged

Conversation

tanguyantoine
Copy link
Contributor

fixes this typing error: Argument of type 'Readonly' is not assignable to parameter of type 'ChatUpdateArguments'.
Property 'ts' is missing in type 'Readonly' but required in type 'ChatUpdateArguments'.

when doing

 await client.chat.update(
      Message()
        //omitted for brevity
        .channel('channel_id')
        .ts('message_ts)
        .buildToObject()
    )

fixes this typing error: Argument of type 'Readonly<SlackMessageDto>' is not assignable to parameter of type 'ChatUpdateArguments'.
  Property 'ts' is missing in type 'Readonly<SlackMessageDto>' but required in type 'ChatUpdateArguments'.

when doing

```ts
 await client.chat.update(
      Message()
        //omitted for brevity
        .channel('channel_id')
        .ts('message_ts)
        .buildToObject()
    )
```
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6f5ccd5) 99.85% compared to head (5548d0e) 99.85%.
Report is 4 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files          91       91           
  Lines        1360     1360           
  Branches      119      119           
=======================================
  Hits         1358     1358           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raycharius raycharius merged commit b26e4e6 into raycharius:main Dec 18, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants