@bfly/utils
Advanced tools
Comparing version
@@ -12,2 +12,9 @@ import type { DeepNonNullable, DeepPartial, DeepReadonly, DeepRequired, Falsy, Optional, Overwrite, ValuesType } from 'utility-types'; | ||
/** | ||
* Takes an open-ended GQL generated union type and remvoes the check against future | ||
* values. Generally this extra imaginary string value exists to ensure that unknown | ||
* values are handled in a typesafe manor. It makes sense to remove it when mapping | ||
* over the known valid values for other types. | ||
*/ | ||
export declare type RemoveFutureAddedValue<T extends string> = Exclude<T, '%future added value'>; | ||
/** | ||
* Split a string into a tuple type | ||
@@ -14,0 +21,0 @@ */ |
@@ -12,2 +12,9 @@ import type { DeepNonNullable, DeepPartial, DeepReadonly, DeepRequired, Falsy, Optional, Overwrite, ValuesType } from 'utility-types'; | ||
/** | ||
* Takes an open-ended GQL generated union type and remvoes the check against future | ||
* values. Generally this extra imaginary string value exists to ensure that unknown | ||
* values are handled in a typesafe manor. It makes sense to remove it when mapping | ||
* over the known valid values for other types. | ||
*/ | ||
export declare type RemoveFutureAddedValue<T extends string> = Exclude<T, '%future added value'>; | ||
/** | ||
* Split a string into a tuple type | ||
@@ -14,0 +21,0 @@ */ |
{ | ||
"name": "@bfly/utils", | ||
"version": "4.16.2", | ||
"version": "4.17.0", | ||
"license": "UNLICENSED", | ||
@@ -38,3 +38,3 @@ "author": "Butterfly Network", | ||
}, | ||
"gitHead": "7c99073cfac9be57627eb9086ac2c08f965fb60f" | ||
"gitHead": "c00135d96eaf76bcc734b8db89c583c27b9de766" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
67163
1.52%1147
1.24%