From d3b6425a66ba49456cfb39d8e115df1f09ade27b Mon Sep 17 00:00:00 2001 From: crosstyan Date: Tue, 8 Jul 2025 11:54:21 +0800 Subject: [PATCH] Clarify illegal value definitions in schema.md; update notes on `null`, `undefined`, and nested arrays to enhance accuracy and readability of the WH Telemetry Protocol documentation. --- schema.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/schema.md b/schema.md index 2254975..0c45d99 100644 --- a/schema.md +++ b/schema.md @@ -272,8 +272,8 @@ type UserData = Record > [!IMPORTANT] > -> - `null` 与 `undefined` 不被支持 -> - 嵌套数组(如 `array>`)亦为非法类型 +> - `null` 与 `undefined` 为非法值 +> - 嵌套数组(如 `array>`)为非法类型 ### 字段级元数据 @@ -311,8 +311,10 @@ type DataType = | `irregular` ``` -- `null` 和 `undefined` 是非法的 -- 嵌套是非法的 +> [!IMPORTANT] +> +> - `null` 与 `undefined` 为非法值 +> - 嵌套数组(如 `array>`)为非法类型 下面分别介绍各个类型