start of the 50th remake of a file host doomed to never be finished
This commit is contained in:
commit
46c05ca3a9
33 changed files with 2155 additions and 0 deletions
15
types/bun.d.ts
vendored
Normal file
15
types/bun.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import type { Server } from "bun";
|
||||
|
||||
type Query = Record<string, string>;
|
||||
type Params = Record<string, string>;
|
||||
|
||||
declare global {
|
||||
type BunServer = Server;
|
||||
|
||||
type ExtendedRequest = Request & {
|
||||
startPerf: number;
|
||||
query: Query;
|
||||
params: Params;
|
||||
session: UserSession | ApiUserSession | null;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue