[doc] Fix the type of the data argument

This commit is contained in:
Luigi Pinca
2024-07-04 07:48:31 +02:00
parent 976c53c406
commit f7dc469717

View File

@@ -395,7 +395,7 @@ of the string values defined below under [Error codes](#error-codes).
### Event: 'message'
- `data` {Buffer|ArrayBuffer|Buffer[]}
- `data` {ArrayBuffer|Blob|Buffer|Buffer[]}
- `isBinary` {Boolean}
Emitted when a message is received. `data` is the message content. `isBinary`