Fix typos in TypeScript definition file (#234)
This commit is contained in:
parent
d9c86f3e93
commit
4598edf4da
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user