@react-native/js-polyfills 0.89.0-rc.0 → 0.90.0-nightly-20261105-25d63d471

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/error-guard.js +2 -2
  2. package/package.json +1 -1
package/error-guard.js CHANGED
@@ -12,7 +12,7 @@
12
12
  let _inGuard = 0;
13
13
 
14
14
  type ErrorHandler = (error: unknown, isFatal: boolean) => void;
15
- type Fn<Args, Return> = (...Args) => Return;
15
+ type Fn<Args, Return> = (...rest: Args) => Return;
16
16
 
17
17
  /**
18
18
  * This is the error handler that is called when we encounter an exception
@@ -98,7 +98,7 @@ const ErrorUtils = {
98
98
  fun: Fn<TArgs, TOut>,
99
99
  name?: ?string,
100
100
  context?: ?unknown,
101
- ): ?(...TArgs) => ?TOut {
101
+ ): ?(...rest: TArgs) => ?TOut {
102
102
  // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types
103
103
  // should be sufficient.
104
104
  if (typeof fun !== 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/js-polyfills",
3
- "version": "0.89.0-rc.0",
3
+ "version": "0.90.0-nightly-20261105-25d63d471",
4
4
  "description": "Polyfills for React Native.",
5
5
  "license": "MIT",
6
6
  "repository": {