client: fix lints

This commit is contained in:
Johann150 2022-08-01 00:28:32 +02:00
parent c9f41f737d
commit ba18589986
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ import MkButton from '@/components/ui/button.vue';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';
const emit = defineEmits<{ const emit = defineEmits<{
(ev: 'change', v: any): void; (ev: 'change', v: Event): void;
(ev: 'keydown', v: KeyboardEvent): void; (ev: 'keydown', v: KeyboardEvent): void;
(ev: 'enter'): void; (ev: 'enter'): void;
(ev: 'update:modelValue', v: string): void; (ev: 'update:modelValue', v: string): void;
@ -77,7 +77,7 @@ const focus = (): void => {
inputEl?.focus(); inputEl?.focus();
}; };
const onInput = (evt: HTMLInputEvent): void => { const onInput = (evt: Event): void => {
changed = true; changed = true;
emit('change', evt); emit('change', evt);
}; };

View file

@ -37,8 +37,8 @@ const props = withDefaults(defineProps<{
expanded?: boolean; expanded?: boolean;
removable?: boolean; removable?: boolean;
draggable?: boolean; draggable?: boolean;
error?: { arg: integer; expect: string; actual: string; }; error?: { arg: number; expect: string; actual: string; };
warn?: { slot: integer; }; warn?: { slot: number; };
}>(), { }>(), {
expanded: true, expanded: true,
removable: true, removable: true,