Update types

This commit is contained in:
Johannes Loher 2021-02-07 11:15:37 +01:00
parent d7c617facb
commit 98568de676
3 changed files with 12 additions and 14 deletions

View file

@ -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();