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,7 +2,7 @@
//
// SPDX-License-Identifier: MIT
import { CooldownDuration, DS4SpellDataSourceData } from "./spell-data-source";
import type { CooldownDuration, DS4SpellDataSourceData } from "./spell-data-source";
export function calculateSpellPrice(data: DS4SpellDataSourceData): number | null {
const spellPriceFactor = calculateSpellPriceFactor(data.cooldownDuration);