Skip to content

Commit

Permalink
fix(types): global components not defined
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Fernández <[email protected]>
  • Loading branch information
ferferga committed Sep 7, 2024
1 parent c9583c9 commit 92c702c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"vue": "3.5.3",
"vue-i18n": "9.14.0",
"vue-router": "4.4.3",
"vuetify": "3.5.18"
"vuetify": "3.7.1"
},
"devDependencies": {
"@eslint/config-inspector": "0.5.4",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/playback-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { getPlaystateApi } from '@jellyfin/sdk/lib/utils/api/playstate-api';
import { getTvShowsApi } from '@jellyfin/sdk/lib/utils/api/tv-shows-api';
import { useEventListener, watchThrottled } from '@vueuse/core';
import { v4 } from 'uuid';
import { toRaw, watch, watchEffect } from 'vue';
import { watch, watchEffect } from 'vue';
import { isNil, sealed } from '@/utils/validation';
import { useBaseItem } from '@/composables/apis';
import { useSnackbar } from '@/composables/use-snackbar';
Expand Down
4 changes: 2 additions & 2 deletions frontend/types/global/attributes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/consistent-indexed-object-style */

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface AllowedComponentProps {
[key: `data${string}`]: string;
}
Expand All @@ -10,7 +10,7 @@ declare module '@vue/runtime-core' {
[key: `data${string}`]: string;
}
}
declare module '@vue/runtime-dom' {
declare module 'vue' {
export interface HTMLAttributes {
// Allow any data-* attr on HTML elements
[key: `data${string}`]: string;
Expand Down
12 changes: 4 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 92c702c

Please sign in to comment.