Remove skipLibCheck

This commit is contained in:
Johannes Loher 2021-01-29 11:23:34 +01:00
parent 3209280b29
commit d6b46d6183
3 changed files with 5 additions and 4 deletions

2
package-lock.json generated
View file

@ -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": {

View file

@ -218,7 +218,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
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,
});
}

View file

@ -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"]
}