diff options
author | Michael Martin <flrgh@protonmail.com> | 2022-11-15 21:51:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 00:51:20 -0500 |
commit | 1fbe3c121cb38eebfa2a3c17117c34ac30bfbd8c (patch) | |
tree | e1cbd5eca174f6b8a6274b5cd2ba5de4f4905ce3 /meta/3rd/OpenResty | |
parent | 6f0e8df7934b9c41aac83a6c0b4b0f50a9b50871 (diff) | |
download | lua-language-server-1fbe3c121cb38eebfa2a3c17117c34ac30bfbd8c.zip |
OpenResty: add plain integer type to ngx.http.status_code (#1700)
Diffstat (limited to 'meta/3rd/OpenResty')
-rw-r--r-- | meta/3rd/OpenResty/library/ngx.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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` |