mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Consistently use string
for string data types in JSDoc comments
Sometimes we also used `String`, but `string` is the what the JSDoc documentation recommends.
This commit is contained in:
parent
e75991b49e
commit
efd331daa1
6 changed files with 13 additions and 13 deletions
|
@ -132,7 +132,7 @@ MessageHandler.prototype = {
|
|||
},
|
||||
/**
|
||||
* Sends a message to the comObj to invoke the action with the supplied data.
|
||||
* @param {String} actionName - Action to call.
|
||||
* @param {string} actionName - Action to call.
|
||||
* @param {JSON} data - JSON data to send.
|
||||
* @param {Array} [transfers] - Optional list of transfers/ArrayBuffers
|
||||
*/
|
||||
|
@ -147,7 +147,7 @@ MessageHandler.prototype = {
|
|||
/**
|
||||
* Sends a message to the comObj to invoke the action with the supplied data.
|
||||
* Expects that the other side will callback with the response.
|
||||
* @param {String} actionName - Action to call.
|
||||
* @param {string} actionName - Action to call.
|
||||
* @param {JSON} data - JSON data to send.
|
||||
* @param {Array} [transfers] - Optional list of transfers/ArrayBuffers.
|
||||
* @returns {Promise} Promise to be resolved with response data.
|
||||
|
@ -172,7 +172,7 @@ MessageHandler.prototype = {
|
|||
/**
|
||||
* Sends a message to the comObj to invoke the action with the supplied data.
|
||||
* Expect that the other side will callback to signal 'start_complete'.
|
||||
* @param {String} actionName - Action to call.
|
||||
* @param {string} actionName - Action to call.
|
||||
* @param {JSON} data - JSON data to send.
|
||||
* @param {Object} queueingStrategy - strategy to signal backpressure based on
|
||||
* internal queue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue