feat: add support for using keyword on discord.js Client and WebSocketManager (#10063)

* feat: add support for `using` keyword on client

* fix: use async dispose

* feat: add support for web socket manager disposing

* fix: use interface for client

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Suneet Tipirneni
2024-02-13 12:48:56 -05:00
committed by GitHub
parent f48cb2a357
commit 543d61737e
7 changed files with 34 additions and 3 deletions

View File

@@ -42,7 +42,7 @@
// Language and Environment
"experimentalDecorators": true,
"lib": ["ESNext"],
"lib": ["ESNext", "esnext.disposable"],
"target": "ESNext",
"useDefineForClassFields": true
},