diff --git a/package.json b/package.json index 9076a769..810d9fbf 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "eslint": "^7.20.0", "eslint-config-prettier": "^7.2.0", "eslint-plugin-prettier": "^3.3.1", - "foundry-vtt-types": "https://github.com/League-of-Foundry-Developers/foundry-vtt-types.git#commit=884d738b51a6cc4801ee2316eb060aafa0aff642", + "foundry-vtt-types": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9", "fs-extra": "^9.1.0", "gulp": "^4.0.2", "gulp-sass": "^4.1.0", @@ -63,7 +63,7 @@ "json-stringify-pretty-compact": "^2.0.0", "lint-staged": "^10.5.4", "prettier": "^2.2.1", - "sass": "^1.32.7", + "sass": "^1.32.8", "ts-jest": "^26.5.1", "typescript": "^4.1.5", "yargs": "^16.2.0" diff --git a/src/module/item/item-sheet.ts b/src/module/item/item-sheet.ts index 41a5862c..8cd2c32e 100644 --- a/src/module/item/item-sheet.ts +++ b/src/module/item/item-sheet.ts @@ -53,7 +53,7 @@ export class DS4ItemSheet extends ItemSheet> { } /** @override */ - setPosition(options: Partial = {}): Application.Position { + setPosition(options: Partial = {}): Application.Position & { height: number } { const position = super.setPosition(options); if ("find" in this.element) { const sheetBody = this.element.find(".sheet-body"); diff --git a/src/module/rolls/check-factory.ts b/src/module/rolls/check-factory.ts index 43d8efaa..eb68789d 100644 --- a/src/module/rolls/check-factory.ts +++ b/src/module/rolls/check-factory.ts @@ -7,7 +7,7 @@ class DefaultCheckOptions implements DS4CheckFactoryOptions { readonly maxCritSuccess = 1; readonly minCritFailure = 20; readonly useSlayingDice = false; - readonly rollMode: DS4RollMode = "roll"; + readonly rollMode: Const.DiceRollMode = "roll"; mergeWith(other: Partial): DS4CheckFactoryOptions { return { ...this, ...other }; @@ -191,7 +191,7 @@ function parseDialogFormData(formData: HTMLFormElement): Partial=2.0.0 <4.0.0" bin: sass: sass.js - checksum: 92c785120b1e9c4a6e7591ca323876bb40dbade8ebfafac0c353ea665bb3c421585788bc6233e9efe649a20c3a607b84ee95f81f7cadfadf3a8cc005ec9c9653 + checksum: d319b3d7459451b6532b492984e3cbb37381e6c6379622f668900b196c0d545f5a2c32819cf02b5405fb2ef79720fe1f8f16b7614a2fef3fb7af8dfec83a6597 languageName: node linkType: hard