Files
jellyfin-vue/auth-fix.d.ts
T
MrTimscampi 9259cb68c5 fix(tests): fix the tests failing
vue-shim.d.ts really doesn't like to be changed in any way
2020-11-09 16:56:03 +01:00

10 lines
279 B
TypeScript

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;
}
}