mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(website): render tsdoc examples (#8494)
This commit is contained in:
@@ -4,6 +4,7 @@ export type Awaitable<T> = T | Promise<T>;
|
||||
|
||||
/**
|
||||
* Yields the numbers in the given range as an array
|
||||
*
|
||||
* @example
|
||||
* ```
|
||||
* range({ start: 3, end: 5 }); // [3, 4, 5]
|
||||
|
||||
@@ -79,6 +79,7 @@ export interface OptionalWebSocketManagerOptions {
|
||||
/**
|
||||
* The ids of the shards this WebSocketManager should manage.
|
||||
* Use `null` to simply spawn 0 through `shardCount - 1`
|
||||
*
|
||||
* @example
|
||||
* ```
|
||||
* const manager = new WebSocketManager({
|
||||
|
||||
Reference in New Issue
Block a user