Remove skipLibCheck
This commit is contained in:
parent
3209280b29
commit
d6b46d6183
3 changed files with 5 additions and 4 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -3119,7 +3119,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"foundry-vtt-types": {
|
"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",
|
"from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
|
|
@ -218,7 +218,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
|
||||||
const roll = new Roll(dataset.roll, this.actor.data.data);
|
const roll = new Roll(dataset.roll, this.actor.data.data);
|
||||||
const label = dataset.label ? `Rolling ${dataset.label}` : "";
|
const label = dataset.label ? `Rolling ${dataset.label}` : "";
|
||||||
roll.roll().toMessage({
|
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,
|
flavor: label,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"lib": ["DOM", "ES6", "ES2017"],
|
"lib": ["DOM", "ES6", "ES2017"],
|
||||||
"types": ["foundry-vtt-types"],
|
"types": ["foundry-vtt-types"],
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"skipLibCheck": true // TODO(types): remove once https://github.com/kmoschcau/foundry-vtt-types/issues/217 is resolved
|
"moduleResolution": "node"
|
||||||
}
|
},
|
||||||
|
"include": ["src"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue