We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4337f93 commit 548f137Copy full SHA for 548f137
src/core/declaration.ts
@@ -46,6 +46,7 @@ export async function generateDeclaration(ctx: Context, root: string, filepath:
46
...imports,
47
})
48
.sort((a, b) => a[0].localeCompare(b[0]))
49
+ .filter(([name]) => ctx.componentCustomMap[name] || ctx.componentNameMap[name])
50
.map(([name, v]) => {
51
if (!/^\w+$/.test(name))
52
name = `'${name}'`
0 commit comments