UNPKG
wexen
Version:
latest (1.4.10)
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Mini web
github.com/nizami/wexen
nizami/wexen
wexen
/
dist
/
http
/
response
/
file
/
file-response.d.ts
6 lines
(5 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
HttpResponse
,
HttpStatusCode
}
from
'../../../index.ts'
;
export
type
FileResponse
=
HttpResponse
& {
readonly
filePath
:
string
; };
export
declare
function
newFileResponse
(
filePath
:
string
,
statusCode
?:
HttpStatusCode
):
FileResponse
;