internal.PickRequiredKeys
Home > @backstage/backend-openapi-utils
> internal
> PickRequiredKeys
Signature:
export type PickRequiredKeys<T extends {
[key: string]: any;
}> = {
[K in keyof T]: true extends T[K]['required'] ? K : never;
}[keyof T];