From 401e073207ba831f85e3b9da8ae35a49ce3bf2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E5=BC=80=E5=8D=8A=E4=BA=A9=E5=9C=B0?= <2572468699@qq.com> Date: Tue, 7 Mar 2023 17:12:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20global=20type=20without=20pre?= =?UTF-8?q?fix=20'B',=20close=20=E5=92=8CelementPlus=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20#24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/gen-component-declaration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen-component-declaration.js b/scripts/gen-component-declaration.js index 35a15a22..dc01f811 100644 --- a/scripts/gen-component-declaration.js +++ b/scripts/gen-component-declaration.js @@ -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')