From d80e9e1616904055a2f691e74f0a0f5c97b54c54 Mon Sep 17 00:00:00 2001 From: Andrew Jarrett Date: Sat, 22 Jun 2024 21:57:32 -0500 Subject: [PATCH 1/2] fix: fixes `some.entriesOf` --- src/some/some.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/some/some.ts b/src/some/some.ts index 129eab6..e06aeb8 100644 --- a/src/some/some.ts +++ b/src/some/some.ts @@ -180,8 +180,8 @@ export type some_entryOf< export type some_entriesOf< invariant, type extends - | any.array - = any.array + | any.array> + = any.array> > = type export type some_arrayOf< From 60f77df8c7b48ca5535f408be5ddcc6bb0dabb44 Mon Sep 17 00:00:00 2001 From: Andrew Jarrett Date: Sat, 22 Jun 2024 21:58:01 -0500 Subject: [PATCH 2/2] chore: commits changeset --- .changeset/orange-frogs-join.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/orange-frogs-join.md diff --git a/.changeset/orange-frogs-join.md b/.changeset/orange-frogs-join.md new file mode 100644 index 0000000..34bf4c1 --- /dev/null +++ b/.changeset/orange-frogs-join.md @@ -0,0 +1,5 @@ +--- +"any-ts": patch +--- + +fix: `some.entriesOf` when used in matching position