add relevant type information
This commit is contained in:
@@ -44,6 +44,9 @@ export class ContentType {
|
||||
* @param {AbstractType<YEvent>} type
|
||||
*/
|
||||
constructor (type) {
|
||||
/**
|
||||
* @type {AbstractType<any>}
|
||||
*/
|
||||
this.type = type
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user