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
{{ message }}
Repository navigation
Easing functions are typed as methods, so passing them trips @typescript-eslint/unbound-method #59941
Libraries/Animated/Easing.js declares linear, ease, cubic etc. with method shorthand, so types_generated/Libraries/Animated/Easing.d.ts emits cubic(t: number): number;. None of them reads this, and the documented usage passes them unbound (easing: Easing.cubic), which fails typescript-eslint's recommendedTypeChecked (@typescript-eslint/unbound-method).
Fix: declare them as arrow-function properties, so the types become cubic: (t: number) => number.
Steps to reproduce
Clone the reproducer gist.
npm install --ignore-scripts
npx eslint index.ts
React Native Version
0.88.1
Affected Platforms
Other (type definitions)
Output of npx @react-native-community/cli info
Not applicable: type definitions only, no app.
Stacktrace or Logs
4:46 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object @typescript-eslint/unbound-method
Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:
For majority of bugs: send us a Pull Request with the RNTesterPlayground.js edited to reproduce your bug.
Activity
react-native-bot commentedon Nov 11, 2026
Warning
Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:
You can read more about about it on our website: How to report a bug.
dkarlovi commentedon Nov 11, 2026
Fix with test plan: #59943