type Default = T; // Test Date type transformations interface UserProfile { name: string; createdAt: Date; lastLogin: Date | null; preferences: { timezone: string; updatedAt: Date; }; } // Test Date with Default wrapper interface EventLog { timestamp: Default; eventType: string; } // Test optional Date fields interface Document { title: string; createdAt: Date; publishedAt?: Date; archivedAt?: Date | null; } interface SchemaRoot { userProfile: UserProfile; eventLog: EventLog; document: Document; }