JSON to TypeScript

Convierte tu JSON a interfaces TypeScript al instante

Root
Válido 3 interfaces
interface Root {
  user: User;
  roles: string[];
  meta: Meta;
}

interface Meta {
  created: string;
  tags: string[];
}

interface User {
  name: string;
  age: number;
  active: boolean;
}