refactor: use noImplicitOverride option
This commit is contained in:
parent
c9a3818571
commit
12bc76ba54
18 changed files with 45 additions and 85 deletions
|
@ -11,13 +11,11 @@ import { DS4Item } from "../item";
|
|||
import type { AttackType } from "./weapon-data-source";
|
||||
|
||||
export class DS4Weapon extends DS4Item {
|
||||
/** @override */
|
||||
prepareDerivedData(): void {
|
||||
override prepareDerivedData(): void {
|
||||
this.data.data.rollable = this.data.data.equipped;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
async roll(options: { speaker?: { token?: TokenDocument; alias?: string } } = {}): Promise<void> {
|
||||
override async roll(options: { speaker?: { token?: TokenDocument; alias?: string } } = {}): Promise<void> {
|
||||
const game = getGame();
|
||||
if (!this.data.data.equipped) {
|
||||
return notifications.warn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue