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

The prop value with an expression type of TSNonNullExpression could not be resolved. #82

Closed
Ovyerus opened this issue Jun 8, 2019 · 2 comments

Comments

@Ovyerus
Copy link

Ovyerus commented Jun 8, 2019

Found this happening with <MyComponent role={role!}/>
Doesn't seem to happen with other props in my (limited) testing, ala #70

Error: The prop value with an expression type of TSNonNullExpression could not be resolved. Please file issue to get this fixed immediately.
Occurred while linting E:\project\src\pages\signup.tsx:189
    at Array.forEach (<anonymous>)
    at Array.forEach (<anonymous>
@jessebeach
Copy link
Collaborator

@Ovyerus , Fixed in version v2.2.1. This will log an error in the console, but it will no longer throw.

@ljharb
Copy link
Member

ljharb commented Jul 1, 2019

We should still keep these open until we are actually handling the nodes.

@ljharb ljharb reopened this Jul 1, 2019
rrhg pushed a commit to rrhg/jsx-ast-utils that referenced this issue Oct 12, 2020
Fix for jsx-eslint#82.
The prop value with an expression type of TSNonNullExpression could not be resolved.
@ljharb ljharb closed this as completed in 518a810 Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants