-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: add HashMap.HashMap.Entry utility type #3618
feat: add HashMap.HashMap.Entry utility type #3618
Conversation
🦋 Changeset detectedLatest commit: 702f010 The changes in this PR will be included in the next version bump. This PR includes changesets to release 31 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
I tried to add some types tests with:
but I had this error and did not know what to do about it:
Tell me if you have an idea on how to fix it |
you can use import { hole, pipe } from "effect/Function"
import type * as Types from "effect/Types"
// $ExpectType ["k", "v"]
hole<Types.Simplify<HashMap.HashMap.Entry<typeof hmLiterals>>>() |
Great! Added to the P.R.! |
Type
Description
Adds HashMap.HashMap.Entry utility type which is just
[HashMap.HashMap.Key<>, HashMap.HashMap.Value<>]
Related