diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 02:43:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 02:43:02 +0800 |
commit | cab40a0abe562db06e5bf4484c000559b0ccb4e4 (patch) | |
tree | 008aaa8744ba93543ac80fa3a1af8ad70fd388be /doc/zh-tw | |
parent | 2548e6d5f5744d38230866e07c1eaec1c16a1302 (diff) | |
parent | b6f9aa8b9c04d11069440ea0369e30201a3969be (diff) | |
download | lua-language-server-cab40a0abe562db06e5bf4484c000559b0ccb4e4.zip |
Merge pull request #1247 from AlexCai2019/master
繁體中文翻譯
Diffstat (limited to 'doc/zh-tw')
-rw-r--r-- | doc/zh-tw/config.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md index 8e1db142..4d20a9e3 100644 --- a/doc/zh-tw/config.md +++ b/doc/zh-tw/config.md @@ -1419,7 +1419,7 @@ null # type.castNumberToInteger -Allowed to assign the `number` type to the `integer` type. +允許將 `number` 類型賦值給 `integer` 類型。 ## type @@ -1435,9 +1435,9 @@ false # type.weakUnionCheck -Once one subtype of a union type meets the condition, the union type also meets the condition. +同位類型中只要有一個子類型滿足條件,則同位類型也滿足條件。 -When this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`. +此設定為 `false` 時,`number|boolean` 類型無法賦給 `number` 類型;為 `true` 時則可以。 ## type |