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
This comes from the update to type-fest 6. Disabling exactOptionalPropertyTypes is unsupported.
An optional property can now only hold undefined when it declares | undefined. For example, objectAssign({a: 1}, {} as {a?: string}).a is now string | number, not string | number | undefined.
asWritable(): For a union, each member is now made writable on its own e7fd6c7
Before, only the keys that every member has became writable.