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
TypeScript error in /home/me/d/ionic/src/utils/useNonInitialEffectHook.tsx(29,7):
Type 'void | Destructor' is not assignable to type 'void | (() => void | undefined)'.
Type 'Destructor' is not assignable to type 'void | (() => void | undefined)'.
Type 'Destructor' is not assignable to type '() => void | undefined'.
Type 'void | { [UNDEFINED_VOID_ONLY]: never; }' is not assignable to type 'void | undefined'.
Type '{ [UNDEFINED_VOID_ONLY]: never; }' is not assignable to type 'void'. TS2322
27 | initialRender.current = false;
28 | } else {
> 29 | effectReturns = effect();
| ^
30 | }
31 |
32 | if (effectReturns && typeof effectReturns === 'function') {
[ERROR] An error occurred while running subprocess react-scripts.
The text was updated successfully, but these errors were encountered:
Thanks for providing this hook.
Unfortunately, after updating to
@ionic/[email protected]
and@types/[email protected]
, I'm now getting the following error:The text was updated successfully, but these errors were encountered: