Skip to content

Commit

Permalink
chore: Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
trandaison committed Oct 3, 2024
1 parent 4925f25 commit 7b3e850
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,11 @@ import type { AuthOptions, AuthConfig } from "./types";
export * from "./types";

declare module "@nuxt/schema" {
interface ConfigSchema {
publicRuntimeConfig?: {
auth: AuthConfig;
};
interface RuntimeConfig {
auth: AuthConfig;
}
interface NuxtConfig {
auth?: AuthOptions;
}
interface NuxtOptions {
auth?: AuthOptions;
interface PublicRuntimeConfig {
auth: AuthConfig;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/composables/useLogin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RawLocation } from "@intlify/vue-router-bridge/lib/index.js";
import type { RawLocation } from '@intlify/vue-router-bridge/lib/index.js';
import { ref, computed } from "vue";
import { navigateTo, useNuxtApp } from "#imports";
import { useLocalizeRoute } from "#build/useLocalizeRoute.mjs";
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/composables/useLogout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RawLocation } from '@intlify/vue-router-bridge';
import type { RawLocation } from '@intlify/vue-router-bridge/lib/index.js';
import { ref } from 'vue';
import { navigateTo, useNuxtApp, useRuntimeConfig } from "#imports";
import { useLocalizeRoute } from "#build/useLocalizeRoute.mjs";
Expand Down

0 comments on commit 7b3e850

Please sign in to comment.