From 52013ff57d47131e919292d99377cb18d7afee80 Mon Sep 17 00:00:00 2001 From: "yugang.cao" Date: Fri, 10 Dec 2021 18:35:29 +0800 Subject: [PATCH] fix: remove or delete update component.d.ts --- src/core/declaration.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/declaration.ts b/src/core/declaration.ts index 62e55cef..907c5362 100644 --- a/src/core/declaration.ts +++ b/src/core/declaration.ts @@ -46,6 +46,7 @@ export async function generateDeclaration(ctx: Context, root: string, filepath: ...imports, }) .sort((a, b) => a[0].localeCompare(b[0])) + .filter(([name]) => ctx.componentCustomMap[name] || ctx.componentNameMap[name]) .map(([name, v]) => { if (!/^\w+$/.test(name)) name = `'${name}'` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy