From 7eaae981d8ee1b335cab55c1119e9c50d4137596 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 1 May 2022 14:46:23 -0500 Subject: [PATCH] Fixed createCollapsibleModifierSections typing --- src/data/common.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/common.tsx b/src/data/common.tsx index f7ba494..03a3145 100644 --- a/src/data/common.tsx +++ b/src/data/common.tsx @@ -25,6 +25,7 @@ import { Modifier } from "game/modifiers"; import { Persistent, persistent } from "game/persistence"; import player from "game/player"; import Decimal, { DecimalSource, format } from "util/bignum"; +import { WithRequired } from "util/common"; import { Computable, convertComputable, @@ -194,7 +195,7 @@ export function createCollapsibleModifierSections( sections: { title: string; subtitle?: string; - modifier: Required; + modifier: WithRequired; base?: Computable; unit?: string; baseText?: Computable;