Skip to content

Commit 5c6c6dd

Browse files
committed
Complete Problem total-typescript#16
1 parent d189134 commit 5c6c6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/16-omit-and-pick.problem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ interface User {
1111
* firstName and lastName properties of User?
1212
*/
1313

14-
type MyType = unknown;
14+
type MyType = Omit<User, "id">;
1515

1616
type tests = [Expect<Equal<MyType, { firstName: string; lastName: string }>>];

0 commit comments

Comments
 (0)