There is a type from a 3rd party:
interface UpdateRequest { data?: ValueRange[]; options?: Options }
I want to create a method with th
You can use Pick and Required and intersect back with the original type to get back the other optional properties
Pick
Required
type RequireSome<T, K extends keyof T> = Required< Pick<T, K>> & T;