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;