From e2e7a9331aaa3a31d50efa09a6428a5a96e92724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=96=B5?= Date: Mon, 10 Jul 2023 14:37:41 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=8F=92=E4=BB=B6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=B3=9B=E5=9E=8B=E5=AE=9A=E4=B9=89=20(#1414?= =?UTF-8?q?1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro/types/compile/config/project.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro/types/compile/config/project.d.ts b/packages/taro/types/compile/config/project.d.ts index f130b974c8c3..68e537529527 100644 --- a/packages/taro/types/compile/config/project.d.ts +++ b/packages/taro/types/compile/config/project.d.ts @@ -8,7 +8,7 @@ import type { IH5Config } from './h5' import type { IMiniAppConfig } from './mini' import { IRNConfig } from './rn' -export type PluginItem = string | [string, object] | [string, () => object | Promise] +export type PluginItem = string | [string, T] | [string, () => T | Promise] interface ICache { /**