Thiemo Mättig (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/365573 )

Change subject: Add missing {number} type hints
......................................................................

Add missing {number} type hints

Change-Id: I3b6e129586610a9b0bfd6a725ab54bac853aa6da
---
M tests/RepoApi.tests.js
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseJavaScriptApi 
refs/changes/73/365573/1

diff --git a/tests/RepoApi.tests.js b/tests/RepoApi.tests.js
index ed0cb96..a8c3ea8 100644
--- a/tests/RepoApi.tests.js
+++ b/tests/RepoApi.tests.js
@@ -31,7 +31,7 @@
  * Returns all request parameters submitted to the function performing the 
`get` or `post` request.
  *
  * @param {Object} spy The SinonJS spy to extract the parameters from.
- * @param [callIndex=0] The call index if multiple API calls have been 
performed on the same spy.
+ * @param {number} [callIndex=0] The call index if multiple API calls have 
been performed on the same spy.
  * @return {Object}
  */
 function getParams( spy, callIndex ) {
@@ -44,7 +44,7 @@
  *
  * @param {Object} spy The SinonJS spy to extract the parameters from.
  * @param {string} paramName
- * @param [callIndex=0] The call index if multiple API calls have been 
performed on the same spy.
+ * @param {number} [callIndex=0] The call index if multiple API calls have 
been performed on the same spy.
  * @return {string}
  */
 function getParam( spy, paramName, callIndex ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/365573
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b6e129586610a9b0bfd6a725ab54bac853aa6da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseJavaScriptApi
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to