Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 lines
258 B
JavaScript
10 lines
258 B
JavaScript
/**
|
|
* Convert Map, Set to Array
|
|
*/
|
|
export function convertToArray(val) {
|
|
if (val instanceof Map) {
|
|
return Array.from(val.values());
|
|
}
|
|
return Array.isArray(val) ? val : Array.from(val);
|
|
}
|
|
//# sourceMappingURL=convert-to-array.util.js.map
|