diff options
author | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
commit | adfac399b1815731de6f12af1fc3e38516969dc7 (patch) | |
tree | 71e37068805d188313ccd56ef6fcee1b3a31ef72 /locale/zh-tw/setting.lua | |
parent | eab7e6d84bd2bd937cf2e27e9da11a3c96c45605 (diff) | |
download | lua-language-server-adfac399b1815731de6f12af1fc3e38516969dc7.zip |
add infer function param type
Diffstat (limited to 'locale/zh-tw/setting.lua')
-rw-r--r-- | locale/zh-tw/setting.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index c8e0dbfc..2b43e954 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -292,6 +292,12 @@ When checking the type of union type, ignore the `nil` in it. When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`. ]] +config.type.inferParamType = -- TODO: need translate! +[[ +未注释参数类型时,参数类型由函数传入参数推断。 + +如果设置为 "false",则在未注释时,参数类型为 "any"。 +]] config.doc.privateName = -- TODO: need translate! 'Treat specific field names as private, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are private, witch can only be accessed in the class where the definition is located.' config.doc.protectedName = -- TODO: need translate! |