mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 10:38:30 +00:00
chore: fix typo in types/utils/array/Values
This commit is contained in:
parent
16a54daf6a
commit
b2905acaea
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user