vars used in stylex.create
generate error with eslint(@stylexjs/valid-styles)
#769
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the issue
My project is in typescript and I use the
@stylexjs/eslint-plugin
package.I'm defining variables as follow:
Whenever I use my created variable as below, eslint complains about the variable not being the expected type.
Expected behavior
eslint should not complain about the variable as it is meant to be written that way
Steps to reproduce
Create a project with the eslint plugin and create variables as described in the problem statement above.
When used in
stylex.create
eslint should display an error (or warning depending on your eslint settings).Test case
Additional comments
No response
The text was updated successfully, but these errors were encountered: