From 614d8f14fa2bac5c4f4357d51b4df527bea93c19 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 28 May 2021 21:19:19 +0200 Subject: :sparkles: attachments --- dist/Server.d.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 dist/Server.d.ts (limited to 'dist/Server.d.ts') diff --git a/dist/Server.d.ts b/dist/Server.d.ts deleted file mode 100644 index f4d12c65..00000000 --- a/dist/Server.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/// -import { Application, Router } from "express"; -import { Database } from "lambert-db"; -import { Server as HTTPServer } from "http"; -import "express-async-errors"; -export declare type ServerOptions = { - db: string; - port: number; - host: string; -}; -declare global { - namespace Express { - interface Request { - server: Server; - } - } -} -export declare class Server { - app: Application; - http: HTTPServer; - db: Database; - routes: Router[]; - options: ServerOptions; - constructor(options?: Partial); - init(): Promise; - registerRoutes(root: string): Promise; - registerRoute(root: string, file: string): any; - destroy(): Promise; -} -- cgit 1.5.1