diff --git a/frontend/src/types/global-components.d.ts b/frontend/src/types/global-components.d.ts index 98585b5ae..cfc2d8727 100644 --- a/frontend/src/types/global-components.d.ts +++ b/frontend/src/types/global-components.d.ts @@ -7,11 +7,8 @@ import type Modal from '@/components/misc/Modal.vue' import type Card from '@/components/misc/Card.vue' // Here we define globally imported components -// See: -// https://github.com/johnsoncodehk/volar/blob/2ca8fd3434423c7bea1c8e08132df3b9ce84eea7/extensions/vscode-vue-language-features/README.md#usage -// Under the hidden collapsible "Define Global Components" - -declare module '@vue/runtime-core' { +// See: https://github.com/vuejs/language-tools/wiki/Global-Component-Types +declare module 'vue' { export interface GlobalComponents { Icon: FontAwesomeIconFixedTypes Notifications: FunctionalComponent