mirror of https://github.com/tycrek/ass
parent
475362a392
commit
2364ba4720
@ -0,0 +1,19 @@
|
||||
import { Request, Response } from 'express';
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
|
||||
/**
|
||||
* ass-specific request items
|
||||
*/
|
||||
ass: {
|
||||
|
||||
/**
|
||||
* Combination of {protocol}://{hostname}
|
||||
*/
|
||||
host: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue