79162139

Date: 2024-11-06 10:20:38
Score: 2.5
Natty:
Report link

Using the Utility type Pick<T, K>, the same as previously suggested can be achieved.

type PublicInterface<T> = Pick<T, keyof T>
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: heio