mirror of https://github.com/tycrek/ass
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
369 B
20 lines
369 B
1 year ago
|
import { Request, Response } from 'express';
|
||
|
|
||
|
declare global {
|
||
|
namespace Express {
|
||
|
interface Request {
|
||
|
|
||
|
/**
|
||
|
* ass-specific request items
|
||
|
*/
|
||
|
ass: {
|
||
|
|
||
|
/**
|
||
|
* Combination of {protocol}://{hostname}
|
||
|
*/
|
||
|
host: string
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|