export interface Address { // City of the customer's address city: string; // Postal or ZIP code postalCode: string; } export interface Customer { // Unique numeric identifier for the customer id: number; // Customer's full name or display name name: string; // Email address, nullable if not provided email: string | null;
Write TypeScript interfaces for this JSON: {"id": 42, "name": "Elif", "email": null, "address": {"city": "Izmir", "postalCode": "35000"}, "tags": ["vip"], "lastOrder": "2026-03-14T10:22:05Z"}. The email can be null and address may be missing. Use a separate interface for each nested object and add a short comment above every property.
