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 state auto-typing and implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer #131
because 'state' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.. I can "fix" it with following code but I wonder if there are better ways without resorting to manually creating a type definition for the state: