mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-29 09:50:20 +00:00
lambert-server: remove global namespace pollution for server
This commit is contained in:
@@ -2,15 +2,6 @@ import express, { Application, Router } from "express";
|
||||
import { Server as HTTPServer } from "http";
|
||||
import http from "http";
|
||||
|
||||
declare global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
namespace Express {
|
||||
interface Request {
|
||||
server: Server;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type ServerOptions = {
|
||||
port: number;
|
||||
host: string;
|
||||
|
||||
Reference in New Issue
Block a user