Skip to content

Commit 1ea959b

Browse files
Trying to fix ts stuff that's a bit out of my knowledge
1 parent cd1b75b commit 1ea959b

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

src/plugin/types/index.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ import type {
1717
} from 'vuetify/components';
1818
import type { IconOptions, ThemeInstance } from 'vuetify';
1919
import type { EventBusKey } from '@vueuse/core';
20+
import type {
21+
VInlineCheckbox,
22+
VInlineCustomField,
23+
VInlineSelect,
24+
VInlineSwitch,
25+
VInlineTextField,
26+
VInlineTextarea,
27+
} from '../';
28+
29+
export * from '../index';
2030

2131

2232
// -------------------------------------------------- Misc //
@@ -463,3 +473,15 @@ export interface UseTruthyModelValue {
463473
}
464474
): boolean;
465475
}
476+
477+
478+
declare module 'vue' {
479+
export interface GlobalComponents {
480+
VInlineCheckbox: typeof VInlineCheckbox;
481+
VInlineCustomField: typeof VInlineCustomField;
482+
VInlineSelect: typeof VInlineSelect;
483+
VInlineSwitch: typeof VInlineSwitch;
484+
VInlineTextField: typeof VInlineTextField;
485+
VInlineTextarea: typeof VInlineTextarea;
486+
}
487+
}

src/plugin/types/inline-fields.d.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)