diff --git a/src/types/valueOf.ts b/src/types/valueOf.ts new file mode 100644 index 0000000..0fa9f4a --- /dev/null +++ b/src/types/valueOf.ts @@ -0,0 +1,4 @@ +/** + * Get the values of a type + */ +export type ValueOf> = T[keyof T];