FromTypeof<T>:T extends "bigint" ? bigint : T extends "boolean" ? boolean : T extends "function" ? Fun : T extends "number" ? number : T extends "object" ? object | null : T extends "string" ? string : T extends "symbol" ? symbol : T extends "undefined" ? undefined : any
Given a possible result from typeof, provides the type to the matched value.
Given a possible result from
typeof, provides the type to the matched value.