diff --git a/src/structs/ContentType.js b/src/structs/ContentType.js index 6d2f4fcb..fb0a69e4 100644 --- a/src/structs/ContentType.js +++ b/src/structs/ContentType.js @@ -44,6 +44,9 @@ export class ContentType { * @param {AbstractType} type */ constructor (type) { + /** + * @type {AbstractType} + */ this.type = type } /** diff --git a/src/structs/Item.js b/src/structs/Item.js index aafd6c0c..1675413b 100644 --- a/src/structs/Item.js +++ b/src/structs/Item.js @@ -138,6 +138,9 @@ export class Item extends AbstractStruct { * @type {Item | null} */ this.redone = null + /** + * @type {AbstractContent} + */ this.content = content this.length = content.getLength() this.countable = content.isCountable()