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:
parent
abcc9248e2
commit
45efcf8078
@ -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>(
|
||||
|
Loading…
Reference in New Issue
Block a user