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
Sure, I just wanted to clarify this as the RFC is supposed to be normative, and it explicitly specifies the signature slightly different than implemented.
AFAICT under the RFC this would have been valid, while it is not in this implementation:
And with T=string|undefineda and b could be undefined, so still invalid...
This is just a contrived example. I am fine either way. But if we stick with what we have now, I think the final implementation of the RFC should then also follow this, and not the RFC, to not create subtle breaking changes (at least for the types), right?
According to the RFC, the initial value of
createStorage()
should be optional:But here it is mandatory! Intentionally, or by accident?
The text was updated successfully, but these errors were encountered: