Updated prestige layer to new conversion

This commit is contained in:
thepaperpilot 2023-04-02 22:03:58 -05:00
parent 4a82bb2f0c
commit e6b8f1ea59

View file

@ -92,6 +92,7 @@ export interface BaseConversion {
export type Conversion<T extends ConversionOptions> = Replace< export type Conversion<T extends ConversionOptions> = Replace<
T & BaseConversion, T & BaseConversion,
{ {
formula: InvertibleFormula;
currentGain: GetComputableTypeWithDefault<T["currentGain"], Ref<DecimalSource>>; currentGain: GetComputableTypeWithDefault<T["currentGain"], Ref<DecimalSource>>;
actualGain: GetComputableTypeWithDefault<T["actualGain"], Ref<DecimalSource>>; actualGain: GetComputableTypeWithDefault<T["actualGain"], Ref<DecimalSource>>;
currentAt: GetComputableTypeWithDefault<T["currentAt"], Ref<DecimalSource>>; currentAt: GetComputableTypeWithDefault<T["currentAt"], Ref<DecimalSource>>;
@ -105,7 +106,6 @@ export type Conversion<T extends ConversionOptions> = Replace<
export type GenericConversion = Replace< export type GenericConversion = Replace<
Conversion<ConversionOptions>, Conversion<ConversionOptions>,
{ {
formula: InvertibleFormula;
currentGain: ProcessedComputable<DecimalSource>; currentGain: ProcessedComputable<DecimalSource>;
actualGain: ProcessedComputable<DecimalSource>; actualGain: ProcessedComputable<DecimalSource>;
currentAt: ProcessedComputable<DecimalSource>; currentAt: ProcessedComputable<DecimalSource>;