type RecursivePartialType = { [KeyType in keyof GenericType]?: RecursivePartialType; }; export default RecursivePartialType;