Created
December 17, 2019 18:30
-
-
Save carlrip/f460f34ae44c132eee78726f00f87246 to your computer and use it in GitHub Desktop.
Omit type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PersonWithoutContactDetails = Omit<Person, "mobile" | "email"> // { id: number; name: string; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment