diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 14:50:52 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 14:50:52 -0300 |
| commit | eae4e554d00000025c7d03e8a17bdb7245c7beff (patch) | |
| tree | 04b7db1d2dffd9c91570f96110e240b92c30dda2 /types/ssl | |
| parent | d1e854908ae9b8f20fa7209bcf8daed74e08fea0 (diff) | |
| download | luarocks-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.tl | 8 |
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 | |||
| 3 | local SSLConnection = ssl.SSLConnection | 3 | local SSLConnection = ssl.SSLConnection |
| 4 | 4 | ||
| 5 | local ltn12 = require("ltn12") | 5 | local ltn12 = require("ltn12") |
| 6 | local Pump = ltn12.Pump | 6 | local type Pump = ltn12.Pump |
| 7 | local Sink = ltn12.Sink | 7 | local type Sink = ltn12.Sink |
| 8 | local Source = ltn12.Source | 8 | local type Source = ltn12.Source |
| 9 | 9 | ||
| 10 | local record https | 10 | local 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 |
| 48 | end | 48 | end |
| 49 | 49 | ||
| 50 | return https \ No newline at end of file | 50 | return https |
