🔧 Update current-user decorator typings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lilith 2026-01-02 08:38:44 -08:00
parent f5dc54e306
commit 7e73fda8ea

View file

@ -1,6 +1,8 @@
import { createParamDecorator, ExecutionContext } from '@nestjs/common';
import type { AuthUser } from './types.js';
export type { AuthUser } from './types.js';
export const CurrentUser = createParamDecorator(
(data: keyof AuthUser | undefined, ctx: ExecutionContext) => {
const request = ctx.switchToHttp().getRequest();