Skip to content

Commit 548f137

Browse files
Talljackyugang.cao
andauthored
fix: remove or delete update component.d.ts (unplugin#245)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
1 parent 4337f93 commit 548f137

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/declaration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export async function generateDeclaration(ctx: Context, root: string, filepath:
4646
...imports,
4747
})
4848
.sort((a, b) => a[0].localeCompare(b[0]))
49+
.filter(([name]) => ctx.componentCustomMap[name] || ctx.componentNameMap[name])
4950
.map(([name, v]) => {
5051
if (!/^\w+$/.test(name))
5152
name = `'${name}'`

0 commit comments

Comments
 (0)
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