Skip to content

Commit

Permalink
fix: io.input and io.output type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
FractalU committed Oct 28, 2024
1 parent a7337c8 commit 7b3577c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ do
end
close: function(? FILE)
input: function(? FILE): FILE
input: function(? FILE | string): FILE
flush: function()
lines: function(? string): (function(): (string))
Expand All @@ -146,7 +146,7 @@ do
lines: function(? string, (number | string)...): (function(): (string...))
open: function(string, ? OpenMode): FILE, string, integer
output: function(? FILE): FILE
output: function(? FILE | string): FILE
popen: function(string, ? OpenMode): FILE, string
read: function(): string
Expand Down
4 changes: 2 additions & 2 deletions tl.tl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ do
end
close: function(? FILE)
input: function(? FILE): FILE
input: function(? FILE | string): FILE
flush: function()
lines: function(? string): (function(): (string))
Expand All @@ -146,7 +146,7 @@ do
lines: function(? string, (number | string)...): (function(): (string...))
open: function(string, ? OpenMode): FILE, string, integer
output: function(? FILE): FILE
output: function(? FILE | string): FILE
popen: function(string, ? OpenMode): FILE, string
read: function(): string
Expand Down

0 comments on commit 7b3577c

Please sign in to comment.