From 063a77b9ba4a1e637ce641418aae32d7d45d0a72 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulmer Date: Thu, 12 Dec 2024 14:43:30 +0100 Subject: [PATCH] fix: biome errors (#113) --- yaku-ui/frog-vue/env.d.ts | 2 +- yaku-ui/frog-vue/tsconfig.app.json | 2 +- yaku-ui/frog-vue/tsconfig.config.json | 6 +++--- .../src/composables/msal/useMsalAuthentication.ts | 5 ++++- yaku-ui/qg-service-ui/tsconfig.node.json | 2 +- yaku-ui/qg-service-ui/tsconfig.paths.json | 2 +- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/yaku-ui/frog-vue/env.d.ts b/yaku-ui/frog-vue/env.d.ts index 64a3698e..2afd873a 100644 --- a/yaku-ui/frog-vue/env.d.ts +++ b/yaku-ui/frog-vue/env.d.ts @@ -7,6 +7,6 @@ declare module '*.vue' { import type { DefineComponent } from 'vue' - const component: DefineComponent<{}, {}, any> + const component: DefineComponent, object, any> export default component } diff --git a/yaku-ui/frog-vue/tsconfig.app.json b/yaku-ui/frog-vue/tsconfig.app.json index 311d6b76..84d1f615 100644 --- a/yaku-ui/frog-vue/tsconfig.app.json +++ b/yaku-ui/frog-vue/tsconfig.app.json @@ -20,6 +20,6 @@ "lib": [ "es2022", "DOM" - ], + ] } } diff --git a/yaku-ui/frog-vue/tsconfig.config.json b/yaku-ui/frog-vue/tsconfig.config.json index 0276573b..832b7d91 100644 --- a/yaku-ui/frog-vue/tsconfig.config.json +++ b/yaku-ui/frog-vue/tsconfig.config.json @@ -2,7 +2,7 @@ "extends": "@vue/tsconfig/tsconfig.node.json", "include": [ "vite.config.*", - "vitest.config.*", + "vitest.config.*" ], "compilerOptions": { "composite": true, @@ -11,11 +11,11 @@ "declaration": true, "outDir": "types", "types": [ - "node", + "node" ], "lib": [ "ESNext", "DOM" - ], + ] } } diff --git a/yaku-ui/qg-service-ui/src/composables/msal/useMsalAuthentication.ts b/yaku-ui/qg-service-ui/src/composables/msal/useMsalAuthentication.ts index 817be2a5..806e1208 100644 --- a/yaku-ui/qg-service-ui/src/composables/msal/useMsalAuthentication.ts +++ b/yaku-ui/qg-service-ui/src/composables/msal/useMsalAuthentication.ts @@ -17,7 +17,10 @@ import { REDIRECT_URL_KEY } from '~/config/msal' import { useMsal } from './useMsal' export type MsalAuthenticationResult = { - acquireToken: Function + acquireToken: ( + callbackInteractionType?: InteractionType | undefined, + callbackRequest?: SilentRequest | undefined, + ) => Promise result: Ref error: Ref inProgress: Ref diff --git a/yaku-ui/qg-service-ui/tsconfig.node.json b/yaku-ui/qg-service-ui/tsconfig.node.json index 7f00c167..4f5011a9 100644 --- a/yaku-ui/qg-service-ui/tsconfig.node.json +++ b/yaku-ui/qg-service-ui/tsconfig.node.json @@ -9,5 +9,5 @@ "include": [ "vite.config.ts", "ui-dev-config.json" - ], + ] } diff --git a/yaku-ui/qg-service-ui/tsconfig.paths.json b/yaku-ui/qg-service-ui/tsconfig.paths.json index b8b94fa6..8bb18f3e 100644 --- a/yaku-ui/qg-service-ui/tsconfig.paths.json +++ b/yaku-ui/qg-service-ui/tsconfig.paths.json @@ -18,5 +18,5 @@ "./helpers" ] } - }, + } }