home

convert json to typescript interfaces · zod schemas · runs locally

interface Address {
  city: string;
  zip: string;
}

interface User {
  id: number;
  name: string;
  email: string;
  roles: (string)[];
  address: Address;
  lastLogin?: null;
}

interface Root {
  user: User;
}
>ready
ready