Andy
@andy__carrell
Frontend Developer
ID: 4747431662
12-01-2016 09:10:48
4,4K Tweet
164 Followers
539 Following
Hey Matt Pocock is there a way in Typescript to exclude a specific property from an object of more generic keys? What I want to do is: type Attributes = Omit<Record<`data-${string}`, string>, 'data-status'> but unfortunately that doesn't prevent the key 'data-status'