diff --git a/src/generic/arithmetic.ts b/src/generic/arithmetic.ts index afe4aec..57bacad 100644 --- a/src/generic/arithmetic.ts +++ b/src/generic/arithmetic.ts @@ -20,3 +20,8 @@ console.log($contains!(searchItem, "erwin", "tj")); // OK, record the type of square: square.reflectedType = $$typeToString!(); + +type Expand = T extends unknown ? { [K in keyof T]: T[K] } : never; +type Out = Expand>; + +console.log("Deps type is", $$typeToString!())