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:
parent
e4cd7c06e4
commit
f277c0579a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user