fixed _onItem... handle param types in docstrings

This commit is contained in:
Gesina Schwalbe 2021-01-03 21:54:42 +01:00
parent d9eef7592f
commit e2e9bca5fd

View file

@ -72,7 +72,7 @@ export class DS4ActorSheet extends ActorSheet<DS4ActorDataType, DS4Actor, DS4Ite
/** /**
* Handle creating a new Owned Item for the actor using initial data defined in the HTML dataset * Handle creating a new Owned Item for the actor using initial data defined in the HTML dataset
* @param {Event} event The originating click event * @param {JQuery.ClickEvent} event The originating click event
* @private * @private
*/ */
private _onItemCreate(event: JQuery.ClickEvent): Promise<Item> { private _onItemCreate(event: JQuery.ClickEvent): Promise<Item> {
@ -101,7 +101,7 @@ export class DS4ActorSheet extends ActorSheet<DS4ActorDataType, DS4Actor, DS4Ite
* Handle changes to properties of an Owned Item from within character sheet. * Handle changes to properties of an Owned Item from within character sheet.
* Can currently properly bind: checkboxes, text/number/range input. * Can currently properly bind: checkboxes, text/number/range input.
* Assumes the item property is given as the value of the HTML element property 'data-property'. * Assumes the item property is given as the value of the HTML element property 'data-property'.
* @param {Event} ev The originating change event * @param {JQuery.ChangeEvent<HTMLFormElement>} ev The originating change event
* @private * @private
*/ */
private _onItemChange(ev: JQuery.ChangeEvent<HTMLFormElement>): void { private _onItemChange(ev: JQuery.ChangeEvent<HTMLFormElement>): void {
@ -160,7 +160,7 @@ export class DS4ActorSheet extends ActorSheet<DS4ActorDataType, DS4Actor, DS4Ite
/** /**
* Handle clickable rolls. * Handle clickable rolls.
* @param {Event} event The originating click event * @param {JQuery.ClickEvent} event The originating click event
* @private * @private
*/ */
private _onRoll(event: JQuery.ClickEvent): void { private _onRoll(event: JQuery.ClickEvent): void {