Skip to content

Commit

Permalink
fix: unexpected var
Browse files Browse the repository at this point in the history
  • Loading branch information
modbender committed Dec 8, 2023
1 parent a4f735e commit 474be95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default defineNuxtModule<ModuleOptions>({

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

var optionalImports: { [key: string]: any }[] = [];
var optionalComponents: { [key: string]: any }[] = [];
let optionalImports: { [key: string]: any }[] = [];
let optionalComponents: { [key: string]: any }[] = [];

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

0 comments on commit 474be95

Please sign in to comment.