Resolve editor/type warnings (#7687)

* resolve editor/type warnings

* dont rename props
This commit is contained in:
Nitwel
2021-08-30 22:54:17 +02:00
committed by GitHub
parent b3e041fc09
commit 607e32ea36
22 changed files with 80 additions and 74 deletions

View File

@@ -152,7 +152,7 @@ export default defineComponent({
keydown: processValue,
blur: (e: Event) => {
trimIfEnabled();
attrs?.onBlur?.(e);
if (typeof attrs.onBlur === 'function') attrs.onBlur(e);
},
focus: (e: PointerEvent) => emit('focus', e),
}));