Skip to content

Commit 2030a65

Browse files
authored
Merge pull request starkware-libs#264 from savvar9991/fix-bug/error
Fix JSDoc Type Syntax and Parameter Naming (starkware-libs#264)
2 parents 6d88b73 + cc55653 commit 2030a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function fetchExternalRefsFor(docToParse) {
4242
* For a given dereferencer object, make sure its initial refs don't include refs that are already
4343
* in the ref cache it has. So it won't try to resolve these.
4444
*
45-
* @param {Dereferencer} dereffer The dereferncer object
45+
* @param {Dereferencer} dereffer The dereferencer object
4646
* @returns The amended dereferencer.
4747
*/
4848
function fixRefs(dereffer) {
@@ -79,7 +79,7 @@ async function derefAll(doc) {
7979

8080
/**
8181
* Retrieve external schema definitions, from other files.
82-
* @param {Map<string,string} externalRefs Mapping of schema definitions, pointing to external files.
82+
* @param {Map<string,string>} externalRefs Mapping of schema definitions, pointing to external files.
8383
* @returns The actual referenced schema objects
8484
*/
8585
async function fetchExternalSchemas(externalRefs) {

0 commit comments

Comments
 (0)