@augment-vir/common
Advanced tools
Comparing version 15.6.0 to 15.6.1
@@ -6,3 +6,3 @@ export declare function getEnumTypedKeys<T extends object>(input: T): (keyof T)[]; | ||
/** Interpret a primitive as an enum value with type safety. */ | ||
export declare function ensureEnum<const ValueType extends `${EnumType[keyof EnumType]}`, const EnumType extends object>(value: ValueType, checkEnum: EnumType): EnumType; | ||
export declare function ensureEnum<const ValueType extends `${EnumType[keyof EnumType]}`, const EnumType extends object>(value: ValueType, checkEnum: EnumType): EnumType[keyof EnumType]; | ||
export declare function filterToEnumValues<T extends object>(inputs: ReadonlyArray<unknown>, checkEnum: T, caseInsensitive?: boolean): T[keyof T][]; |
{ | ||
"name": "@augment-vir/common", | ||
"version": "15.6.0", | ||
"version": "15.6.1", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common", | ||
@@ -5,0 +5,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150368