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>
25 lines
536 B
TypeScript
Executable File
25 lines
536 B
TypeScript
Executable File
/**
|
|
Returns the filename and line number of the caller in the call stack
|
|
|
|
@param depth - The distance from the location function in the call stack. Defaults to 1 (caller).
|
|
|
|
@return an object with the filename and line number.
|
|
*/
|
|
export function location(depth?: number): location.Location;
|
|
|
|
declare namespace location {
|
|
|
|
interface Location {
|
|
|
|
/**
|
|
The fully qualified filename.
|
|
*/
|
|
readonly filename: string;
|
|
|
|
/**
|
|
The file line number.
|
|
*/
|
|
readonly line: number;
|
|
}
|
|
}
|