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
When i've added `// @ts-check` to any file while doing the little development I've done in ipfs-desktop so far, there are a large number of errors pointing to large risk for a number of runtime and other failures:
1. Race conditions
2. potential for "`property` of 'object' is not a <type>" or similar
3. unintentional variable type creep/evolution
* adding properties to an object that shouldn't have properties added
* overloading the type of a property/member
* enums not being defined, instead using an unbounded list of evolving strings defined on the fly
and more...