typescript object key from other object

Solutions on MaxInterview for typescript object key from other object by the best coders in the world