diff --git a/src/runtime/composables/refresh/useAuth.ts b/src/runtime/composables/refresh/useAuth.ts index c9dd4f07..2c72f68d 100644 --- a/src/runtime/composables/refresh/useAuth.ts +++ b/src/runtime/composables/refresh/useAuth.ts @@ -152,7 +152,19 @@ const signOut: SignOutFunc = async (signOutOptions) => { rawToken.value = null rawRefreshToken.value = null - const { path, method } = config.endpoints.signOut + const { path, method } = config.endpoints.signOut as { + path: string; + method: + | 'get' + | 'head' + | 'patch' + | 'post' + | 'put' + | 'delete' + | 'connect' + | 'options' + | 'trace'; + } const res = await _fetch(nuxt, path, { method, headers })