Use the Typescript keyof operator to create a custom type based of an object

Share this video with your friends

Send Tweet