From 7b809496a5a4be6a182d715b264493cb39c98674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 25 Jun 2022 04:02:25 +0800 Subject: update doc --- doc/en-us/config.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'doc/en-us') diff --git a/doc/en-us/config.md b/doc/en-us/config.md index 11c51f05..d9d04b39 100644 --- a/doc/en-us/config.md +++ b/doc/en-us/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. -- cgit v1.2.3