[PR #113] [MERGED] chore: use explicit return types and fix imports #113

Closed
opened 2026-02-16 12:27:03 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/113
Author: @williamhorning
Created: 3/14/2025
Status: Merged
Merged: 3/23/2025
Merged by: @insertish

Base: mainHead: explicit-returns-and-imports


📝 Commits (2)

  • f7c75a1 chore: use explicit return types and fix imports
  • f7dfebd merge: remote-tracking branch 'origin/main' into explicit-returns-and-imports

📊 Changes

50 files changed (+770 additions, -629 deletions)

View changed files

📝 src/Client.ts (+40 -45)
📝 src/classes/BannedUser.ts (+5 -3)
📝 src/classes/Bot.ts (+21 -18)
📝 src/classes/Channel.ts (+91 -67)
📝 src/classes/ChannelUnread.ts (+6 -4)
📝 src/classes/ChannelWebhook.ts (+26 -11)
📝 src/classes/Emoji.ts (+13 -10)
📝 src/classes/File.ts (+8 -8)
📝 src/classes/Invite.ts (+15 -9)
📝 src/classes/MFA.ts (+24 -21)
📝 src/classes/Message.ts (+56 -44)
📝 src/classes/MessageEmbed.ts (+19 -24)
📝 src/classes/PublicBot.ts (+11 -5)
📝 src/classes/PublicInvite.ts (+12 -7)
📝 src/classes/Server.ts (+87 -58)
📝 src/classes/ServerBan.ts (+10 -7)
📝 src/classes/ServerMember.ts (+29 -26)
📝 src/classes/Session.ts (+8 -8)
📝 src/classes/SystemMessage.ts (+19 -16)
📝 src/classes/User.ts (+40 -33)

...and 30 more files

📄 Description

see title


  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/javascript-client-sdk/pull/113 **Author:** [@williamhorning](https://github.com/williamhorning) **Created:** 3/14/2025 **Status:** ✅ Merged **Merged:** 3/23/2025 **Merged by:** [@insertish](https://github.com/insertish) **Base:** `main` ← **Head:** `explicit-returns-and-imports` --- ### 📝 Commits (2) - [`f7c75a1`](https://github.com/stoatchat/javascript-client-sdk/commit/f7c75a169f223a8a23b01cc352e1c0a64a9deb7d) chore: use explicit return types and fix imports - [`f7dfebd`](https://github.com/stoatchat/javascript-client-sdk/commit/f7dfebdd9832efa2307c63f31fbfc6f40c827d9d) merge: remote-tracking branch 'origin/main' into explicit-returns-and-imports ### 📊 Changes **50 files changed** (+770 additions, -629 deletions) <details> <summary>View changed files</summary> 📝 `src/Client.ts` (+40 -45) 📝 `src/classes/BannedUser.ts` (+5 -3) 📝 `src/classes/Bot.ts` (+21 -18) 📝 `src/classes/Channel.ts` (+91 -67) 📝 `src/classes/ChannelUnread.ts` (+6 -4) 📝 `src/classes/ChannelWebhook.ts` (+26 -11) 📝 `src/classes/Emoji.ts` (+13 -10) 📝 `src/classes/File.ts` (+8 -8) 📝 `src/classes/Invite.ts` (+15 -9) 📝 `src/classes/MFA.ts` (+24 -21) 📝 `src/classes/Message.ts` (+56 -44) 📝 `src/classes/MessageEmbed.ts` (+19 -24) 📝 `src/classes/PublicBot.ts` (+11 -5) 📝 `src/classes/PublicInvite.ts` (+12 -7) 📝 `src/classes/Server.ts` (+87 -58) 📝 `src/classes/ServerBan.ts` (+10 -7) 📝 `src/classes/ServerMember.ts` (+29 -26) 📝 `src/classes/Session.ts` (+8 -8) 📝 `src/classes/SystemMessage.ts` (+19 -16) 📝 `src/classes/User.ts` (+40 -33) _...and 30 more files_ </details> ### 📄 Description see title --- - [X] I understand and have followed the [contribution guide](https://github.com/revoltchat/.github/blob/master/.github/CONTRIBUTING.md) - [X] I have tested my changes locally and they are working as intended --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:27:03 -05:00
yindo closed this issue 2026-02-16 12:27:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#113