I believe the type for ContextRegistry could be improved by removing the index signature. Leaving it means that no matter what I write in (for example) ContextProvider @key - Glint won't complain. If the index signature is not there, only valid keys will be accepted. Which is a much better developer experience. What do you think?
I believe the type for
ContextRegistrycould be improved by removing the index signature. Leaving it means that no matter what I write in (for example)ContextProvider @key- Glint won't complain. If the index signature is not there, only valid keys will be accepted. Which is a much better developer experience. What do you think?