aboutsummaryrefslogtreecommitdiff
path: root/types/ssl
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-10-21 14:50:52 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-10-21 14:50:52 -0300
commiteae4e554d00000025c7d03e8a17bdb7245c7beff (patch)
tree04b7db1d2dffd9c91570f96110e240b92c30dda2 /types/ssl
parentd1e854908ae9b8f20fa7209bcf8daed74e08fea0 (diff)
downloadluarocks-eae4e554d00000025c7d03e8a17bdb7245c7beff.tar.gz
luarocks-eae4e554d00000025c7d03e8a17bdb7245c7beff.tar.bz2
luarocks-eae4e554d00000025c7d03e8a17bdb7245c7beff.zip
types: use 'local type' on type aliases
Diffstat (limited to 'types/ssl')
-rw-r--r--types/ssl/https.d.tl8
1 files changed, 4 insertions, 4 deletions
diff --git a/types/ssl/https.d.tl b/types/ssl/https.d.tl
index 94c38df6..79af9eb2 100644
--- a/types/ssl/https.d.tl
+++ b/types/ssl/https.d.tl
@@ -3,9 +3,9 @@ local SSLCertificate = ssl.SSLCertificate
3local SSLConnection = ssl.SSLConnection 3local SSLConnection = ssl.SSLConnection
4 4
5local ltn12 = require("ltn12") 5local ltn12 = require("ltn12")
6local Pump = ltn12.Pump 6local type Pump = ltn12.Pump
7local Sink = ltn12.Sink 7local type Sink = ltn12.Sink
8local Source = ltn12.Source 8local type Source = ltn12.Source
9 9
10local record https 10local record https
11 record HTTPSRequest 11 record HTTPSRequest
@@ -47,4 +47,4 @@ local record https
47 tcp: function(): function(): SSLConnection 47 tcp: function(): function(): SSLConnection
48end 48end
49 49
50return https \ No newline at end of file 50return https