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
|
@@ -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
|