mirror of
https://github.com/nvms/prsm.git
synced 2025-12-15 15:50:53 +00:00
11 lines
248 B
TypeScript
11 lines
248 B
TypeScript
import { createAuth, createAuthAdmin } from "./src/middleware.js";
|
|
|
|
declare global {
|
|
namespace Express {
|
|
interface Request {
|
|
auth: Awaited<ReturnType<typeof createAuth>>;
|
|
authAdmin: ReturnType<typeof createAuthAdmin>;
|
|
}
|
|
}
|
|
}
|