Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created January 6, 2019 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagda1/493ca8b9429bcf95e0a41bb82730e7ac to your computer and use it in GitHub Desktop.
Save dagda1/493ca8b9429bcf95e0a41bb82730e7ac to your computer and use it in GitHub Desktop.
type PartialDeep<T> = {
[ P in keyof T ]?: PartialDeep<T[ P ]>;
}
type PartialRestoreArrays<K> = {
[ P in keyof K ]?: K[ P ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment