From d6b46d6183696746faaf059e832eecb72e522e98 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Fri, 29 Jan 2021 11:23:34 +0100 Subject: [PATCH] Remove skipLibCheck --- package-lock.json | 2 +- src/module/actor/sheets/actor-sheet.ts | 2 +- tsconfig.json | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 62f40bb9..59fe8050 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3119,7 +3119,7 @@ } }, "foundry-vtt-types": { - "version": "github:League-of-Foundry-Developers/foundry-vtt-types#7f7eccf1fa68ad869e98361199628764961d9c8c", + "version": "github:League-of-Foundry-Developers/foundry-vtt-types#c25d4823c2950ce472fbac240d56ff07e2d4cdaa", "from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9", "dev": true, "requires": { diff --git a/src/module/actor/sheets/actor-sheet.ts b/src/module/actor/sheets/actor-sheet.ts index c72d79b4..909b8098 100644 --- a/src/module/actor/sheets/actor-sheet.ts +++ b/src/module/actor/sheets/actor-sheet.ts @@ -218,7 +218,7 @@ export class DS4ActorSheet extends ActorSheet { const roll = new Roll(dataset.roll, this.actor.data.data); const label = dataset.label ? `Rolling ${dataset.label}` : ""; roll.roll().toMessage({ - speaker: ChatMessage.getSpeaker({ actor: this.actor }), + speaker: ChatMessage.getSpeaker({ actor: (this.actor as unknown) as string }), // TODO(types): Fix ChatMessage.getSpeaker in upstream flavor: label, }); } diff --git a/tsconfig.json b/tsconfig.json index af1b6738..5f44cffe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "lib": ["DOM", "ES6", "ES2017"], "types": ["foundry-vtt-types"], "esModuleInterop": true, - "skipLibCheck": true // TODO(types): remove once https://github.com/kmoschcau/foundry-vtt-types/issues/217 is resolved - } + "moduleResolution": "node" + }, + "include": ["src"] }