chore: fix typo in types/utils/array/Values

This commit is contained in:
Convly 2023-12-19 16:17:27 +01:00
parent 16a54daf6a
commit b2905acaea

View File

@ -1,7 +1,7 @@
import type { Utils } from '..'; import type { Utils } from '..';
/** /**
* Extract the array values into an union type * Extract the array values into a union type
*/ */
export type Values<TCollection extends Array<unknown>> = TCollection extends Array<infer TValues> export type Values<TCollection extends Array<unknown>> = TCollection extends Array<infer TValues>
? TValues ? TValues