From 4fcef841000617c68a690c25b2e18b95dc29c330 Mon Sep 17 00:00:00 2001 From: Andrew Jarrett Date: Sun, 28 Apr 2024 21:04:19 -0500 Subject: [PATCH 1/2] fix: export `filter` and `filterKeys` from `object` module --- src/object/exports.ts | 2 +- src/object/object.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/object/exports.ts b/src/object/exports.ts index 6d58205..ee4a145 100644 --- a/src/object/exports.ts +++ b/src/object/exports.ts @@ -1 +1 @@ -export type * as object from "./object" +export * as object from "./object" diff --git a/src/object/object.ts b/src/object/object.ts index f4dda1e..30dd99b 100644 --- a/src/object/object.ts +++ b/src/object/object.ts @@ -21,6 +21,9 @@ export declare namespace signature { } } +export type filter = filter.values +export type filterKeys = filter.keys + export declare namespace filter { type keys = never | eval< From 77e9cfdeabfa581af6129f50a895cd89fd1a8821 Mon Sep 17 00:00:00 2001 From: Andrew Jarrett Date: Sun, 28 Apr 2024 21:05:17 -0500 Subject: [PATCH 2/2] chore: commits changeset --- .changeset/kind-turtles-taste.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/kind-turtles-taste.md diff --git a/.changeset/kind-turtles-taste.md b/.changeset/kind-turtles-taste.md new file mode 100644 index 0000000..9fc0df3 --- /dev/null +++ b/.changeset/kind-turtles-taste.md @@ -0,0 +1,5 @@ +--- +"any-ts": patch +--- + +export `filter` and `filterKeys` from `object` module