summaryrefslogtreecommitdiff
path: root/meta/template/io.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
commit1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (patch)
tree139de5a308902f36b8a69ae285eca5bc96799a97 /meta/template/io.lua
parent30b024f811b4d36c4eb09dbba846d1feb9751342 (diff)
downloadlua-language-server-1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b.zip
rename lib class name
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r--meta/template/io.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua
index 5cfd3cab..76e5a7f6 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -1,7 +1,7 @@
---@meta
---#DES 'io'
----@class io*
+---@class iolib
---#DES 'io.stdin'
---@field stdin file*
---#DES 'io.stdout'
@@ -10,6 +10,8 @@
---@field stderr file*
io = {}
+---@alias io* iolib
+
---@alias openmode
---|>'"r"' # ---#DESTAIL 'openmode.r'
---| '"w"' # ---#DESTAIL 'openmode.w'