Fix jsdoc type tags

This commit is contained in:
Yarmo Mackenbach 2021-04-20 10:59:23 +02:00
parent 3ef328ea44
commit 6e24fd5ffd
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -163,7 +163,7 @@ class Claim {
/** /**
* Throw error when attempting to alter the state * Throw error when attempting to alter the state
* @function * @function
* @param anything - Anything will throw an error * @param {any} anything - Anything will throw an error
*/ */
set state(anything) { set state(anything) {
throw new Error("Cannot change a claim's state") throw new Error("Cannot change a claim's state")
@ -172,7 +172,7 @@ class Claim {
/** /**
* Throw error when attempting to alter the dataMatches * Throw error when attempting to alter the dataMatches
* @function * @function
* @param anything - Anything will throw an error * @param {any} anything - Anything will throw an error
*/ */
set dataMatches(anything) { set dataMatches(anything) {
throw new Error("Cannot change a claim's dataMatches") throw new Error("Cannot change a claim's dataMatches")
@ -181,7 +181,7 @@ class Claim {
/** /**
* Throw error when attempting to alter the verification data * Throw error when attempting to alter the verification data
* @function * @function
* @param anything - Anything will throw an error * @param {any} anything - Anything will throw an error
*/ */
set verification(anything) { set verification(anything) {
throw new Error("Cannot change a claim's verification data") throw new Error("Cannot change a claim's verification data")