fix: resolve server TS errors — jwt type augmentation, sign options, services import

bump version to 0.3.1
This commit is contained in:
NixReaper
2026-04-05 12:13:06 -05:00
parent 2fce30eddc
commit b8ac6ee515
3 changed files with 9 additions and 9 deletions
+5 -4
View File
@@ -10,11 +10,12 @@ export interface JwtPayload {
exp?: number
}
// ─── Fastify type augmentation ────────────────────────────────────────────────
// ─── @fastify/jwt type augmentation ───────────────────────────────────────────
declare module 'fastify' {
interface FastifyRequest {
user?: JwtPayload
declare module '@fastify/jwt' {
interface FastifyJWT {
payload: JwtPayload
user: JwtPayload
}
}