mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-11-27 16:20:36 +00:00
fix(tests): fix the tests failing
vue-shim.d.ts really doesn't like to be changed in any way
This commit is contained in:
parent
7585079a14
commit
9259cb68c5
9
auth-fix.d.ts
vendored
Normal file
9
auth-fix.d.ts
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
import { Auth } from '@nuxtjs/auth';
|
||||
|
||||
// Fix the wonky nuxt-auth types for Vuex stores
|
||||
declare module 'vuex/types/index' {
|
||||
// eslint-disable-next-line -- Current TypeScript rules flag S as unused, but Nuxt requires identical types
|
||||
interface Store<S> {
|
||||
$auth: Auth;
|
||||
}
|
||||
}
|
10
vue-shims.d.ts
vendored
10
vue-shims.d.ts
vendored
@ -1,15 +1,5 @@
|
||||
import { Auth } from '@nuxtjs/auth';
|
||||
|
||||
declare module '*.vue' {
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue;
|
||||
}
|
||||
|
||||
// Fix the wonky nuxt-auth types for Vuex stores
|
||||
declare module 'vuex/types/index' {
|
||||
// eslint-disable-next-line -- Current TypeScript rules flag S as unused, but Nuxt requires identical types
|
||||
interface Store<S> {
|
||||
$auth: Auth;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user