Generate TypeScript interfaces from a sample JSON object. Handles nested objects and arrays.
export interface Profile {
bio: string;
age: number;
}
export interface User {
id: number;
name: string;
active: boolean;
tags: string[];
profile: Profile;
}