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

kerosene: Add Entries<T> utility type, update ElementType<TCollection> to accept plain objects #40

Merged
merged 1 commit into from Aug 9, 2019

Conversation

@nhardy
Copy link
Member

commented Aug 8, 2019

Adds an Entries<T> utility type which infers the union of all object entry tuples for type T.

Also updates ElementType<TCollection> to infer the value type for plain objects.

@ojkelly ojkelly merged commit fd9e288 into master Aug 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.