Skip to content

Commit fcd06d9

Browse files
committed
docs(kitsu-core): update internal serialise JSDoc
1 parent 469d23a commit fcd06d9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/kitsu-core/src/serialise

packages/kitsu-core/src/serialise/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ function isValid (isArray, type, payload, method) {
3838
* Serialises a relational data object to JSON:API format
3939
*
4040
* @param {Object} node Existing relation object
41-
* @param {Object} relations Relation object being built
42-
* @param {string} key Name of the relationship
41+
* @param {Object} nodeType Resource type of the relation
4342
* @returns {Object} Serialised relationship
4443
* @private
4544
*/
@@ -58,8 +57,7 @@ function serialiseRelationOne (node, nodeType) {
5857
* Serialises a relational data array to JSON:API format
5958
*
6059
* @param {Object} node Existing relation object
61-
* @param {Object} relations Relation object being built
62-
* @param {string} key Name of the relationship
60+
* @param {Object} nodeType Resource type of the relation
6361
* @returns {Object} Serialised relationship
6462
* @private
6563
*/

0 commit comments

Comments
 (0)