mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2025-12-25 02:16:26 -05:00
Fix typos in TypeScript definition file (#234)
This commit is contained in:
4
docs/index.d.ts
vendored
4
docs/index.d.ts
vendored
@@ -16,10 +16,10 @@ interface WebSocket {
|
||||
/** Returns the bytes buffered in backpressure. */
|
||||
getBufferedAmount() : number;
|
||||
|
||||
/** Gradefully closes this WebSocket. Immediately calls close handler. */
|
||||
/** Gracefully closes this WebSocket. Immediately calls close handler. */
|
||||
end(code?: number, shortMessage?: RecognizedString) : WebSocket;
|
||||
|
||||
/** Forefully closes this WebSocket. Immediately calls close handler. */
|
||||
/** Forcefully closes this WebSocket */
|
||||
close() : WebSocket;
|
||||
|
||||
/** Subscribe to a topic in MQTT syntax */
|
||||
|
||||
Reference in New Issue
Block a user