Skip to content

Commit db18547

Browse files
docs: Fix incorrect type in docs for Parse.Query.containedIn and Parse.Query.notContainedIn (#1784)
1 parent 5ca4bbe commit db18547

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ParseQuery.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,10 +1284,10 @@ class ParseQuery {
12841284
* be contained in the provided list of values.
12851285
*
12861286
* @param {string} key The key to check.
1287-
* @param {*} value The values that will match.
1287+
* @param {Array<*>} value The values that will match.
12881288
* @returns {Parse.Query} Returns the query, so you can chain this call.
12891289
*/
1290-
containedIn(key: string, value: mixed): ParseQuery {
1290+
containedIn(key: string, value: Array<mixed>): ParseQuery {
12911291
return this._addCondition(key, '$in', value);
12921292
}
12931293

@@ -1296,10 +1296,10 @@ class ParseQuery {
12961296
* not be contained in the provided list of values.
12971297
*
12981298
* @param {string} key The key to check.
1299-
* @param {*} value The values that will not match.
1299+
* @param {Array<*>} value The values that will not match.
13001300
* @returns {Parse.Query} Returns the query, so you can chain this call.
13011301
*/
1302-
notContainedIn(key: string, value: mixed): ParseQuery {
1302+
notContainedIn(key: string, value: Array<mixed>): ParseQuery {
13031303
return this._addCondition(key, '$nin', value);
13041304
}
13051305

0 commit comments

Comments
 (0)