badgeAPI/types/bun.d.ts
creations cfbcaa4851
All checks were successful
Code quality checks / biome (push) Successful in 9s
first commit
2025-04-19 11:58:49 -04:00

14 lines
261 B
TypeScript

import type { Server } from "bun";
type Query = Record<string, string>;
type Params = Record<string, string>;
declare global {
type BunServer = Server;
interface ExtendedRequest extends Request {
startPerf: number;
query: Query;
params: Params;
}
}