UNPKG

types-helpers

Version:

Librería de utilidades avanzadas para tipos en TypeScript

26 lines (21 loc) 281 B
export {}; /* Example: type Entry = { usuario: { nombre: string; edad: number; }; direccion: { ciudad: string; }; }; type result = Flat<Entry>; result = { "usuario.nombre": string; } & { "usuario.edad": number; } & { "direccion.ciudad": string; } */