You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We started using the above lint rule @typescript-eslint/unbound-method and it's great. However the types for onOpen and onClose especially in FlagButtonProps mean that the function is defined as an unbound method rather than the fat arrow () => void method that it actually is:
Hello!
We started using the above lint rule
@typescript-eslint/unbound-method
and it's great. However the types foronOpen
andonClose
especially inFlagButtonProps
mean that the function is defined as an unbound method rather than the fat arrow() => void
method that it actually is:Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: