Skip to content

Commit

Permalink
Merge pull request #264 from savvar9991/fix-bug/error
Browse files Browse the repository at this point in the history
Fix JSDoc Type Syntax and Parameter Naming (#264)
  • Loading branch information
ArielElp authored Jan 12, 2025
2 parents 6d88b73 + cc55653 commit 2030a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function fetchExternalRefsFor(docToParse) {
* For a given dereferencer object, make sure its initial refs don't include refs that are already
* in the ref cache it has. So it won't try to resolve these.
*
* @param {Dereferencer} dereffer The dereferncer object
* @param {Dereferencer} dereffer The dereferencer object
* @returns The amended dereferencer.
*/
function fixRefs(dereffer) {
Expand Down Expand Up @@ -79,7 +79,7 @@ async function derefAll(doc) {

/**
* Retrieve external schema definitions, from other files.
* @param {Map<string,string} externalRefs Mapping of schema definitions, pointing to external files.
* @param {Map<string,string>} externalRefs Mapping of schema definitions, pointing to external files.
* @returns The actual referenced schema objects
*/
async function fetchExternalSchemas(externalRefs) {
Expand Down

0 comments on commit 2030a65

Please sign in to comment.