Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types for map keys #77

Open
medikoo opened this issue May 15, 2017 · 0 comments
Open

Types for map keys #77

medikoo opened this issue May 15, 2017 · 0 comments
Assignees

Comments

@medikoo
Copy link
Owner

medikoo commented May 15, 2017

Currently we can only restrict object/map values with specific types

It would be nice to force keys of given map to be only of specific type, e.g. use case is a Log nested map, where each key is expected to be instance of Date.

@medikoo medikoo self-assigned this May 15, 2017
@medikoo medikoo changed the title Types for keys Types for map keys May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant