From adfac399b1815731de6f12af1fc3e38516969dc7 Mon Sep 17 00:00:00 2001 From: fesily Date: Wed, 21 Feb 2024 15:02:35 +0800 Subject: add infer function param type --- locale/zh-tw/setting.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'locale/zh-tw') 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! -- cgit v1.2.3