From 9e3eff4e97aab42f8ef448584b385da6b8c6f04e Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Wed, 10 Jul 2024 14:46:09 +0800 Subject: [PATCH] docs: fix --- website/docs/zh/plugins/dev/hooks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/zh/plugins/dev/hooks.mdx b/website/docs/zh/plugins/dev/hooks.mdx index 14af65b5ba..8da48041b1 100644 --- a/website/docs/zh/plugins/dev/hooks.mdx +++ b/website/docs/zh/plugins/dev/hooks.mdx @@ -201,9 +201,9 @@ const myPlugin = () => ({ - **类型:** +```ts type ArrayAtLeastOne = [A, ...Array] | [...Array, A]; -```ts type ModifyEnvironmentConfigUtils = { /** 当前 environment 名称 */ name: string;