forked from profectus/Profectus
Fixed createCollapsibleModifierSections typing
This commit is contained in:
parent
ade00f2ebd
commit
7eaae981d8
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ import { Modifier } from "game/modifiers";
|
||||||
import { Persistent, persistent } from "game/persistence";
|
import { Persistent, persistent } from "game/persistence";
|
||||||
import player from "game/player";
|
import player from "game/player";
|
||||||
import Decimal, { DecimalSource, format } from "util/bignum";
|
import Decimal, { DecimalSource, format } from "util/bignum";
|
||||||
|
import { WithRequired } from "util/common";
|
||||||
import {
|
import {
|
||||||
Computable,
|
Computable,
|
||||||
convertComputable,
|
convertComputable,
|
||||||
|
@ -194,7 +195,7 @@ export function createCollapsibleModifierSections(
|
||||||
sections: {
|
sections: {
|
||||||
title: string;
|
title: string;
|
||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
modifier: Required<Modifier>;
|
modifier: WithRequired<Modifier, "description">;
|
||||||
base?: Computable<DecimalSource>;
|
base?: Computable<DecimalSource>;
|
||||||
unit?: string;
|
unit?: string;
|
||||||
baseText?: Computable<CoercableComponent>;
|
baseText?: Computable<CoercableComponent>;
|
||||||
|
|
Loading…
Reference in a new issue