mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
feature request: Export Events Type #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @avasilic on GitHub (Jan 27, 2024).
Issue Summary:
I'm currently working on a Revolt bot using
revolt.js, and I noticed that the events type is not exported. Having access to the events type would be nice so that I can enforce type safety better in my own event handler.Steps to Reproduce:
N/A
Expected Behavior:
I expected the library to export the events type so that developers can ensure type safety in their event handlers.
Actual Behavior:
The events type is not exported.
Additional Information:
N/A
Proposed Solution:
Export the events type in the API library to facilitate better type safety in event handling. I will open a GitHub PR.
Environment:
revolt.jsVersion: v7.0.0-beta.10Screenshots/Code Snippets:
N/A