---
source: crates/normalize-typegen/tests/codegen.rs
assertion_line: 29
expression: output
---
// Auto-generated by normalize-typegen

/** Physical address */
export interface Address {
  city: string;
  country: string;
  postalCode?: string;
  street: string;
}

/** User account status */
export type Status =
  | "pending"
  | "active"
  | "suspended"
  | "deleted";

/** A user account */
export interface User {
  address?: Address;
  age?: number;
  /** Email address */
  email: string;
  /** Unique identifier */
  id: string;
  metadata?: Record<string, string>;
  name?: string;
  status: Status;
  tags?: string[];
}
