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. */
|
/** Returns the bytes buffered in backpressure. */
|
||||||
getBufferedAmount() : number;
|
getBufferedAmount() : number;
|
||||||
|
|
||||||
/** Gradefully closes this WebSocket. Immediately calls close handler. */
|
/** Gracefully closes this WebSocket. Immediately calls close handler. */
|
||||||
end(code?: number, shortMessage?: RecognizedString) : WebSocket;
|
end(code?: number, shortMessage?: RecognizedString) : WebSocket;
|
||||||
|
|
||||||
/** Forefully closes this WebSocket. Immediately calls close handler. */
|
/** Forcefully closes this WebSocket */
|
||||||
close() : WebSocket;
|
close() : WebSocket;
|
||||||
|
|
||||||
/** Subscribe to a topic in MQTT syntax */
|
/** Subscribe to a topic in MQTT syntax */
|
||||||
|
Loading…
Reference in New Issue
Block a user