Update types and remove unnecessary ts-ignores
This commit is contained in:
parent
91e5007391
commit
0369748629
5 changed files with 2 additions and 14 deletions
|
@ -19,9 +19,6 @@ import { isCheck } from "../actor-data-properties";
|
|||
export class DS4ActorSheet extends ActorSheet<ActorSheet.Options, DS4ActorSheetData> {
|
||||
/** @override */
|
||||
static get defaultOptions(): ActorSheet.Options {
|
||||
// TODO: Improve
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||
classes: ["ds4", "sheet", "actor"],
|
||||
height: 620,
|
||||
|
|
|
@ -10,9 +10,6 @@ import { DS4ActorSheet } from "./actor-sheet";
|
|||
export class DS4CharacterActorSheet extends DS4ActorSheet {
|
||||
/** @override */
|
||||
static get defaultOptions(): ActorSheet.Options {
|
||||
// TODO: Improve
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||
classes: ["ds4", "sheet", "actor", "character"],
|
||||
});
|
||||
|
|
|
@ -10,9 +10,6 @@ import { DS4ActorSheet } from "./actor-sheet";
|
|||
export class DS4CreatureActorSheet extends DS4ActorSheet {
|
||||
/** @override */
|
||||
static get defaultOptions(): ActorSheet.Options {
|
||||
// TODO: Improve
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||
classes: ["ds4", "sheet", "actor", "creature"],
|
||||
});
|
||||
|
|
|
@ -14,9 +14,6 @@ import { isDS4ItemDataTypePhysical } from "./item-data-source";
|
|||
export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData> {
|
||||
/** @override */
|
||||
static get defaultOptions(): ItemSheet.Options {
|
||||
// TODO: Improve
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||
width: 540,
|
||||
height: 400,
|
||||
|
|
|
@ -841,7 +841,7 @@ __metadata:
|
|||
|
||||
"@league-of-foundry-developers/foundry-vtt-types@https://github.com/League-of-Foundry-Developers/foundry-vtt-types.git#foundry-0.8.x":
|
||||
version: 0.7.9-6
|
||||
resolution: "@league-of-foundry-developers/foundry-vtt-types@https://github.com/League-of-Foundry-Developers/foundry-vtt-types.git#commit=9ea68fe6147f4e3da061754c599482c8607f93fa"
|
||||
resolution: "@league-of-foundry-developers/foundry-vtt-types@https://github.com/League-of-Foundry-Developers/foundry-vtt-types.git#commit=17d261a85b5b99f014adcc45980e04a424640e2c"
|
||||
dependencies:
|
||||
"@types/jquery": ~3.5.5
|
||||
"@types/simple-peer": ~9.11.0
|
||||
|
@ -851,7 +851,7 @@ __metadata:
|
|||
socket.io-client: 4.1.2
|
||||
tinymce: 5.8.1
|
||||
typescript: ^4.1.6
|
||||
checksum: 6945db2b6be3204e63d2be0f3a05115b810875de3a8031383b409049c03a65b3c3e033323b47c819b1d773d57c51e495eac1af343a0325e07f075acd988998d5
|
||||
checksum: 51af64acf728ecd63f1dd1d14044fc1fa2cc83126aa948fac917be983b9c32ad54c572d400040b56c1f91594dad708fbd5e1b4545a79082744b75a6c93bab310
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
|
Loading…
Reference in a new issue