type-fest 4.22.0 → 4.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "type-fest",
3
- "version": "4.22.0",
3
+ "version": "4.22.1",
4
4
  "description": "A collection of essential TypeScript types",
5
5
  "license": "(MIT OR CC0-1.0)",
6
6
  "repository": "sindresorhus/type-fest",
@@ -21,7 +21,7 @@ type BaseKeyFilter<Type, Key extends keyof Type> = Key extends symbol
21
21
  /**
22
22
  Returns the required keys.
23
23
  */
24
- type FilterDefinedKeys<T extends object> = Exclude<
24
+ export type FilterDefinedKeys<T extends object> = Exclude<
25
25
  {
26
26
  [Key in keyof T]: IsAny<T[Key]> extends true
27
27
  ? Key
@@ -37,7 +37,7 @@ undefined
37
37
  /**
38
38
  Returns the optional keys.
39
39
  */
40
- type FilterOptionalKeys<T extends object> = Exclude<
40
+ export type FilterOptionalKeys<T extends object> = Exclude<
41
41
  {
42
42
  [Key in keyof T]: IsAny<T[Key]> extends true
43
43
  ? never