diff --git a/src/server.ts b/src/server.ts index 89e24a6..b04561f 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,6 +1,6 @@ -/// import dotenv from 'dotenv'; import express, { Request, Response, NextFunction, Application } from 'express'; +import './types'; import cors from 'cors'; import path from 'path'; import cron from 'node-cron'; diff --git a/src/types/index.ts b/src/types/index.ts index a3c6d6a..ca9cb7e 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -75,6 +75,8 @@ declare global { id: string; role: string; }; + locale?: string; + t?: (key: string, params?: Record) => string; } } } \ No newline at end of file