From 29b1dafb0fdae535ab1012f55822d992b3acee42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=89=A7=E6=AF=85?= Date: Mon, 4 Jan 2021 10:23:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20utils=20=E7=9A=84?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E4=B8=AD=E5=A2=9E=E5=8A=A0=E5=AF=B9=E4=BA=8E?= =?UTF-8?q?=20function=20=E7=B1=BB=E5=9E=8B=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/types/src/utils.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/types/src/utils.ts b/packages/types/src/utils.ts index fbccf0844..b8ac406ef 100644 --- a/packages/types/src/utils.ts +++ b/packages/types/src/utils.ts @@ -14,14 +14,4 @@ export type ExternalUtils = { }; export type UtilItem = InternalUtils | ExternalUtils; -export type UtilsMap = Array< -| { - name: string; - type: 'npm'; - content: NpmInfo; -} -| { - name: string; - type: ''; -} ->; +export type UtilsMap = UtilItem[];