refactor(core/fetch): optimize perfomance, improve types
This commit is contained in:
@@ -2,3 +2,8 @@
|
||||
* A type that can be either a single value or an array of values
|
||||
*/
|
||||
export type Arrayable<T> = T | T[];
|
||||
|
||||
/**
|
||||
* A type that can be either a single value or a readonly array of values
|
||||
*/
|
||||
export type ReadonlyArrayable<T> = T | readonly T[];
|
||||
|
||||
Reference in New Issue
Block a user