Skip to content

Commit 6076737

Browse files
authored
Merge pull request #32 from trandaison/chore/update_types
chore: Update types
2 parents 4925f25 + 7b3e850 commit 6076737

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

src/module.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@ import type { AuthOptions, AuthConfig } from "./types";
1212
export * from "./types";
1313

1414
declare module "@nuxt/schema" {
15-
interface ConfigSchema {
16-
publicRuntimeConfig?: {
17-
auth: AuthConfig;
18-
};
15+
interface RuntimeConfig {
16+
auth: AuthConfig;
1917
}
20-
interface NuxtConfig {
21-
auth?: AuthOptions;
22-
}
23-
interface NuxtOptions {
24-
auth?: AuthOptions;
18+
interface PublicRuntimeConfig {
19+
auth: AuthConfig;
2520
}
2621
}
2722

src/runtime/composables/useLogin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RawLocation } from "@intlify/vue-router-bridge/lib/index.js";
1+
import type { RawLocation } from '@intlify/vue-router-bridge/lib/index.js';
22
import { ref, computed } from "vue";
33
import { navigateTo, useNuxtApp } from "#imports";
44
import { useLocalizeRoute } from "#build/useLocalizeRoute.mjs";

src/runtime/composables/useLogout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RawLocation } from '@intlify/vue-router-bridge';
1+
import type { RawLocation } from '@intlify/vue-router-bridge/lib/index.js';
22
import { ref } from 'vue';
33
import { navigateTo, useNuxtApp, useRuntimeConfig } from "#imports";
44
import { useLocalizeRoute } from "#build/useLocalizeRoute.mjs";

0 commit comments

Comments
 (0)