diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-25 04:02:25 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-25 04:02:25 +0800 |
commit | 7b809496a5a4be6a182d715b264493cb39c98674 (patch) | |
tree | c11adeb7dbaa012b0efba10c5b13c2015d96e541 /doc/zh-tw | |
parent | eff02b11a8186ef25f35aa34be2e59470fd69cb3 (diff) | |
download | lua-language-server-7b809496a5a4be6a182d715b264493cb39c98674.zip |
update doc
Diffstat (limited to 'doc/zh-tw')
-rw-r--r-- | doc/zh-tw/config.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md index 57b28cac..8e1db142 100644 --- a/doc/zh-tw/config.md +++ b/doc/zh-tw/config.md @@ -1417,6 +1417,41 @@ boolean | null null ``` +# type.castNumberToInteger + +Allowed to assign the `number` type to the `integer` type. + +## type + +```ts +boolean +``` + +## default + +```jsonc +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`. + + +## type + +```ts +boolean +``` + +## default + +```jsonc +false +``` + # window.progressBar 在狀態欄顯示進度條。 |