Skip to content

Commit 7ed8973

Browse files
jcabanneschristophechevalier
authored andcommitted
style: format code and fix linter issues
1 parent ba50365 commit 7ed8973

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

apps/catalog-ui/src/vue-shims.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
declare module '*.vue' {
2-
import { defineComponent } from 'vue';
2+
import type { defineComponent } from 'vue';
3+
/**
4+
* This module declaration allows TypeScript to understand
5+
* imports of `.vue` files and provides type safety
6+
* when working with Vue components in TypeScript.
7+
*/
38
const component: ReturnType<typeof defineComponent>;
49
export default component;
510
}

apps/catalog-ui/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default defineConfig({
1818
alias: {
1919
'@linagora/linid-im-front-corelib': resolve(
2020
__dirname,
21-
'../../../linid-im-front-corelib/dist/core-lib.es.js',
21+
'../../../linid-im-front-corelib/dist/core-lib.es.js'
2222
),
2323
},
2424
},
@@ -37,11 +37,11 @@ export default defineConfig({
3737
singleton: true,
3838
requiredVersion: '3.5.24',
3939
},
40-
quasar: { singleton: true } as Record<string, any>,
40+
quasar: { singleton: true } as Record<string, unknown>,
4141
'@linagora/linid-im-front-corelib': {
4242
singleton: true,
4343
strictVersion: true,
44-
} as Record<string, any>,
44+
} as Record<string, unknown>,
4545
},
4646
}),
4747
],

0 commit comments

Comments
 (0)