mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-05 00:35:48 -05:00
chore: remove types for express-subdomain
This commit is contained in:
parent
de8d6f86ac
commit
8ea0fe7c49
16
src/types/express-subdomain.d.ts
vendored
16
src/types/express-subdomain.d.ts
vendored
|
|
@ -1,16 +0,0 @@
|
|||
// * Credit to https://github.com/bmullan91/express-subdomain/pull/61 for the types!
|
||||
|
||||
declare module 'express-subdomain' {
|
||||
import type { Request, Response, Router } from 'express';
|
||||
|
||||
/**
|
||||
* @description The subdomain function.
|
||||
* @param subdomain The subdomain to listen on.
|
||||
* @param fn The listener function, takes a response and request.
|
||||
* @returns A function call to the value passed as FN, or void (the next function).
|
||||
*/
|
||||
export default function subdomain(
|
||||
subdomain: string,
|
||||
fn: Router | ((req: Request, res: Response) => void | any)
|
||||
): (req: Request, res: Response, next: () => void) => void | typeof fn;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user