forked from FoundKeyGang/FoundKey
client: fix lints
This commit is contained in:
parent
c9f41f737d
commit
ba18589986
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ import MkButton from '@/components/ui/button.vue';
|
|||
import { i18n } from '@/i18n';
|
||||
|
||||
const emit = defineEmits<{
|
||||
(ev: 'change', v: any): void;
|
||||
(ev: 'change', v: Event): void;
|
||||
(ev: 'keydown', v: KeyboardEvent): void;
|
||||
(ev: 'enter'): void;
|
||||
(ev: 'update:modelValue', v: string): void;
|
||||
|
@ -77,7 +77,7 @@ const focus = (): void => {
|
|||
inputEl?.focus();
|
||||
};
|
||||
|
||||
const onInput = (evt: HTMLInputEvent): void => {
|
||||
const onInput = (evt: Event): void => {
|
||||
changed = true;
|
||||
emit('change', evt);
|
||||
};
|
||||
|
|
|
@ -37,8 +37,8 @@ const props = withDefaults(defineProps<{
|
|||
expanded?: boolean;
|
||||
removable?: boolean;
|
||||
draggable?: boolean;
|
||||
error?: { arg: integer; expect: string; actual: string; };
|
||||
warn?: { slot: integer; };
|
||||
error?: { arg: number; expect: string; actual: string; };
|
||||
warn?: { slot: number; };
|
||||
}>(), {
|
||||
expanded: true,
|
||||
removable: true,
|
||||
|
|
Loading…
Reference in a new issue