Skip to content

Type for ContextRegistry #30

@boris-petrov

Description

@boris-petrov

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions