diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-19 11:51:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-19 11:51:31 +0800 |
commit | 1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (patch) | |
tree | 139de5a308902f36b8a69ae285eca5bc96799a97 /meta/template/io.lua | |
parent | 30b024f811b4d36c4eb09dbba846d1feb9751342 (diff) | |
download | lua-language-server-1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b.zip |
rename lib class name
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r-- | meta/template/io.lua | 4 |
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' |