diff --git a/tl.lua b/tl.lua index d38bda69..5b5a5957 100644 --- a/tl.lua +++ b/tl.lua @@ -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)) @@ -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 diff --git a/tl.tl b/tl.tl index 70c521ea..ab7dae2e 100644 --- a/tl.tl +++ b/tl.tl @@ -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)) @@ -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