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/socket.d.tl | |
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/socket.d.tl')
-rw-r--r-- | types/socket.d.tl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/types/socket.d.tl b/types/socket.d.tl index e62e907b..f450503b 100644 --- a/types/socket.d.tl +++ b/types/socket.d.tl | |||
@@ -1,6 +1,6 @@ | |||
1 | local ltn12 = require("ltn12") | 1 | local ltn12 = require("ltn12") |
2 | local Sink = ltn12.Sink | 2 | local type Sink = ltn12.Sink |
3 | local Source = ltn12.Source | 3 | local type Source = ltn12.Source |
4 | 4 | ||
5 | local record socket | 5 | local record socket |
6 | record TCP | 6 | record TCP |
@@ -155,4 +155,4 @@ local record socket | |||
155 | _VERSION: string | 155 | _VERSION: string |
156 | end | 156 | end |
157 | 157 | ||
158 | return socket \ No newline at end of file | 158 | return socket |