add relevant type information
This commit is contained in:
parent
775f6eed1d
commit
7e7c9d5b11
@ -44,6 +44,9 @@ export class ContentType {
|
|||||||
* @param {AbstractType<YEvent>} type
|
* @param {AbstractType<YEvent>} type
|
||||||
*/
|
*/
|
||||||
constructor (type) {
|
constructor (type) {
|
||||||
|
/**
|
||||||
|
* @type {AbstractType<any>}
|
||||||
|
*/
|
||||||
this.type = type
|
this.type = type
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -138,6 +138,9 @@ export class Item extends AbstractStruct {
|
|||||||
* @type {Item | null}
|
* @type {Item | null}
|
||||||
*/
|
*/
|
||||||
this.redone = null
|
this.redone = null
|
||||||
|
/**
|
||||||
|
* @type {AbstractContent}
|
||||||
|
*/
|
||||||
this.content = content
|
this.content = content
|
||||||
this.length = content.getLength()
|
this.length = content.getLength()
|
||||||
this.countable = content.isCountable()
|
this.countable = content.isCountable()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user