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';
|
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);
|
||||||
};
|
};
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue