How can I check if key is part of an interface in typescript? [duplicate]
This question already has answers here: Typescript Check If A String Exists as An Interface Key (3 answers) Get keys of a Typescript interface as array of strings (19 answers) Closed 3 days ago. I have an interface [simplified] export default interface FormListarAtendimentosDTO { idArea?: number; idAssunto?: number; idMotivo?: number; order?: string; page?: number; pageSize?: […]