1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

remove expect errors

This commit is contained in:
Thomas Heartman 2025-07-09 15:58:45 +02:00
parent e4cd7c06e4
commit f277c0579a

View File

@ -72,7 +72,6 @@ export class FeatureLifecycleService {
listen() {
this.eventStore.on(FEATURE_ENVIRONMENT_ENABLED, async (event) => {
// @ts-expect-error
if (this.flagResolver.isEnabled('paygTrialEvents')) {
const envName = event.environment;
const environment = await this.environmentStore.get(envName);
@ -94,7 +93,6 @@ export class FeatureLifecycleService {
this.eventBus.on(
CLIENT_METRICS, // or CLIENT_METRICS_ADDED? 🤷
async (event) => {
// @ts-expect-error
if (this.flagResolver.isEnabled('paygTrialEvents')) {
// todo: report to HS
}