Type alias MatchTypeFromString<Type>
MatchTypeFromString<Type>: Type extends "boolean" ? boolean : Type extends "bigint" ? bigint : Type extends "function" ? ((...args: readonly unknown[]) => unknown) : Type extends "number" ? number : Type extends "object" ? {} | null : Type extends "string" ? string : Type extends "symbol" ? symbol : Type extends "undefined" ? undefined : never
A type to convert the string returned by
typeof x
to its typescript type