Skip to content

[T] InferredTypeSpecValue

type InferredTypeSpecValue<K>: K extends "Any" ? TypeSpecValue : K extends infer T[] ? InferredTypeSpecValue<T> : K extends "String" ? string : K extends "Number" ? number : K extends "Boolean" ? boolean : Type & object;

Type Parameters

Type Parameter
K extends TypeKind