1 | import { AnyArray } from "../any-array";
|
2 | import { AnyFunction } from "../any-function";
|
3 | import { Primitive } from "../primitive";
|
4 | export type ValueOf<Type> = Type extends Primitive ? Type : Type extends AnyArray ? Type[number] : Type extends AnyFunction ? ReturnType<Type> : Type[keyof Type];
|