From 1fbe3c121cb38eebfa2a3c17117c34ac30bfbd8c Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Tue, 15 Nov 2022 21:51:20 -0800 Subject: OpenResty: add plain integer type to ngx.http.status_code (#1700) --- meta/3rd/OpenResty/library/ngx.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/3rd') diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua index 0cbd94c7..aa2a29ce 100644 --- a/meta/3rd/OpenResty/library/ngx.lua +++ b/meta/3rd/OpenResty/library/ngx.lua @@ -106,6 +106,7 @@ ngx.HTTP_VERSION_NOT_SUPPORTED = 505 ngx.HTTP_INSUFFICIENT_STORAGE = 507 ---@alias ngx.http.status_code +---| integer ---| `ngx.HTTP_CONTINUE` ---| `ngx.HTTP_SWITCHING_PROTOCOLS` ---| `ngx.HTTP_OK` -- cgit v1.2.3