feat(website): render tsdoc examples (#8494)

This commit is contained in:
Suneet Tipirneni
2022-08-16 10:33:49 -04:00
committed by GitHub
parent c99b808882
commit 7116647947
22 changed files with 382 additions and 209 deletions

View File

@@ -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]

View File

@@ -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({