mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-05-24 19:24:24 +08:00
chore: fix lint
This commit is contained in:
parent
77fe056dda
commit
066532d823
@ -40,7 +40,7 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => {
|
|||||||
for (const name of [FRAGMENT, KEEP_ALIVE]) {
|
for (const name of [FRAGMENT, KEEP_ALIVE]) {
|
||||||
if (vueImportMap[name]) {
|
if (vueImportMap[name]) {
|
||||||
if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) {
|
if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) {
|
||||||
return false
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user