Update types
This commit is contained in:
parent
d7c617facb
commit
98568de676
3 changed files with 12 additions and 14 deletions
|
@ -4,9 +4,8 @@ import { isDS4ItemDataTypePhysical } from "./item-data";
|
|||
|
||||
/**
|
||||
* Extend the basic ItemSheet with some very simple modifications
|
||||
* @extends {ItemSheet}
|
||||
*/
|
||||
// TODO(types): provide proper types for all generic parameters
|
||||
// TODO(types): Remove first generic parameter once https://github.com/League-of-Foundry-Developers/foundry-vtt-types/pull/273 is merged
|
||||
export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
|
||||
/** @override */
|
||||
static get defaultOptions(): BaseEntitySheet.Options {
|
||||
|
@ -85,7 +84,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
|
|||
|
||||
/**
|
||||
* Handle management of ActiveEffects.
|
||||
* @param {Event} event The originating click event
|
||||
* @param event The originating click event
|
||||
*/
|
||||
private async _onManageActiveEffect(event: JQuery.ClickEvent): Promise<unknown> {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue