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
demo.js:8
8: const bar: A = {...foo}
^^^^^^^^ object literal. Inexact type is incompatible with exact type
8: const bar: A = {...foo}
^ exact type: object type
This pattern is pretty common in redux style reducers where you return the old state merged with new values (e.g.{...foo, foo: 4})
AlicanC, pbomb, jfmengels, torifat, wukkuan and 249 more