Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable warning #482

Open
rickysullivan opened this issue Feb 22, 2023 · 0 comments
Open

Undefined variable warning #482

rickysullivan opened this issue Feb 22, 2023 · 0 comments
Labels
question Further information is requested

Comments

@rickysullivan
Copy link

Webstorm throws warnings about unfined variables: "Unresolved variable isEnabled"

const FEATURE_FLAGS = useFeatures();
if (FEATURE_FLAGS.FEATURE_SEND_USER_CODES?.isEnabled) {
    console.log('FEATURE_SEND_USER_CODES is enabled');
}

image

Is there any way to hide it?

I've added // noinspection JSUnresolvedVariable but that's a pain.

@rickysullivan rickysullivan added the question Further information is requested label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant