You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: locale/en-us/setting.lua
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,12 @@ When checking the type of union type, ignore the `nil` in it.
293
293
294
294
When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.
295
295
]]
296
+
config.type.inferParamType=
297
+
[[
298
+
When a parameter type is not annotated, it is inferred from the function's call sites.
299
+
300
+
When this setting is `false`, the type of the parameter is `any` when it is not annotated.
301
+
]]
296
302
config.doc.privateName=
297
303
'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.'
Copy file name to clipboardExpand all lines: locale/pt-br/setting.lua
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,12 @@ When checking the type of union type, ignore the `nil` in it.
293
293
294
294
When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.
295
295
]]
296
+
config.type.inferParamType=-- TODO: need translate!
297
+
[[
298
+
When the parameter type is not annotated, the parameter type is inferred from the function's incoming parameters.
299
+
300
+
When this setting is `false`, the type of the parameter is `any` when it is not annotated.
301
+
]]
296
302
config.doc.privateName=-- TODO: need translate!
297
303
'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.'
Copy file name to clipboardExpand all lines: locale/zh-tw/setting.lua
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,12 @@ When checking the type of union type, ignore the `nil` in it.
292
292
293
293
When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.
294
294
]]
295
+
config.type.inferParamType=-- TODO: need translate!
296
+
[[
297
+
未注释参数类型时,参数类型由函数传入参数推断。
298
+
299
+
如果设置为 "false",则在未注释时,参数类型为 "any"。
300
+
]]
295
301
config.doc.privateName=-- TODO: need translate!
296
302
'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.'
0 commit comments