1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-27 01:19:00 +02:00

fix: impact metrics undefined (#10210)

This commit is contained in:
Mateusz Kwasniewski 2025-06-25 14:48:07 +02:00 committed by GitHub
parent abcc9248e2
commit 45efcf8078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,6 @@ import type {
IFlags,
IFlagResolver,
IFlagKey,
IImpactMetricsResolver,
} from '../types/experimental.js';
import { getDefaultVariant } from 'unleash-client/lib/variant.js';
@ -67,9 +66,9 @@ export default class FlagResolver implements IFlagResolver {
return this.externalResolver.getStaticContext();
}
get impactMetrics(): IImpactMetricsResolver | undefined {
return this.externalResolver?.impactMetrics;
}
// get impactMetrics(): IImpactMetricsResolver | undefined {
// return this.externalResolver?.impactMetrics;
// }
}
export const getVariantValue = <T = string>(