mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-06 20:09:12 +08:00
chore: fix lint
This commit is contained in:
@ -39,8 +39,8 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => {
|
||||
const vueImportMap = state.get('vueImportMap');
|
||||
for (const name of [FRAGMENT, KEEP_ALIVE]) {
|
||||
if (vueImportMap[name]) {
|
||||
if(vueImportMap[name].some((id: t.Identifier) => id.name === tag)){
|
||||
return false
|
||||
if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user