Skip to content

Commit 474be95

Browse files
committed
fix: unexpected var
1 parent a4f735e commit 474be95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/module.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export default defineNuxtModule<ModuleOptions>({
4848

4949
const transpileModules = new Set<string>([]);
5050

51-
var optionalImports: { [key: string]: any }[] = [];
52-
var optionalComponents: { [key: string]: any }[] = [];
51+
let optionalImports: { [key: string]: any }[] = [];
52+
let optionalComponents: { [key: string]: any }[] = [];
5353

5454
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`
5555
for (const obj of allImports.defaultComposables) {

0 commit comments

Comments
 (0)