Skip to content

Commit 51440e3

Browse files
committed
fix build headers method jsdoc
1 parent 25579c4 commit 51440e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/jsonld.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,10 +1651,10 @@ jsonld.cache = {
16511651
jsonld.acceptHeader = 'application/ld+json, application/json';
16521652

16531653
/**
1654-
* Build an headers object from custom headers and assert Accept header is not override.
1654+
* Build an headers object from custom headers and assert `accept` header isn't overridden.
16551655
*
1656-
* @param headers an o
1657-
* @return {*|{}}
1656+
* @param {Object} headers an object of headers with key as header name and value as header value.
1657+
* @return {Object} an object of headers with a valid `accept` header.
16581658
*/
16591659
jsonld.buildHeaders = function (headers) {
16601660
headers = headers || {};

0 commit comments

Comments
 (0)