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/pt-br/config.md | |
parent | eff02b11a8186ef25f35aa34be2e59470fd69cb3 (diff) | |
download | lua-language-server-7b809496a5a4be6a182d715b264493cb39c98674.zip |
update doc
Diffstat (limited to 'doc/pt-br/config.md')
-rw-r--r-- | doc/pt-br/config.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md index af6cfba0..68efabb3 100644 --- a/doc/pt-br/config.md +++ b/doc/pt-br/config.md @@ -1418,6 +1418,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 Show progress bar in status bar. |