Skip to content

Commit

Permalink
chore: remove global type without prefix 'B', close 和elementPlus同时使用 #24
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Mar 7, 2023
1 parent 5bfc794 commit 401e073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen-component-declaration.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function generateComponentsType() {
const key = name.replace('B', '')
const entry = `typeof import('vue3-baidu-map-gl')['${key}']`
components[name] = entry
components[key] = entry
// components[key] = entry
})
const originalContent = exist(path.resolve(TYPE_ROOT, 'volar.d.ts'))
? await fs.readFile(path.resolve(TYPE_ROOT, 'volar.d.ts'), 'utf-8')
Expand Down

0 comments on commit 401e073

Please sign in to comment.