Skip to content

Commit

Permalink
fix incorrect jsdoc types because _hydrateValue returns an object, …
Browse files Browse the repository at this point in the history
…not a string
  • Loading branch information
jannikac committed Jul 1, 2024
1 parent 122653f commit 92a48ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ical/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class Component {
* Returns first property's value, if available.
*
* @param {String=} name Lowercase property name
* @return {?String} The found property value.
* @return {?Object} The found property value.
*/
getFirstPropertyValue(name) {
let prop = this.getFirstProperty(name);
Expand Down
2 changes: 1 addition & 1 deletion lib/ical/property.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class Property {
/**
* Finds the first property value.
*
* @return {String} First property value
* @return {Object} First property value
*/
getFirstValue() {
return this._hydrateValue(0);
Expand Down

0 comments on commit 92a48ca

Please sign in to comment.