refactor: prefer type imports and sort imports

This commit is contained in:
Johannes Loher 2022-02-17 00:55:22 +01:00
parent 8d2cff77d7
commit 9cffa4df04
49 changed files with 124 additions and 105 deletions

View file

@ -2,9 +2,10 @@
//
// SPDX-License-Identifier: MIT
import { DS4Actor } from "../actor/actor";
import { getCanvas, getGame } from "../helpers";
import type { DS4Actor } from "../actor/actor";
/**
* Gets the currently active actor and token based on how {@link ChatMessage}
* determines the current speaker.

View file

@ -2,12 +2,12 @@
//
// SPDX-License-Identifier: MIT
import { Check } from "../actor/actor-data-properties-base";
import { DS4 } from "../config";
import { getGame } from "../helpers";
import notifications from "../ui/notifications";
import { getActiveActorAndToken } from "./helpers";
import type { Check } from "../actor/actor-data-properties-base";
/**
* Creates a macro from a check drop.
* Get an existing roll check macro if one exists, otherwise create a new one.