feat: update eslint config

support async component, see: https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
This commit is contained in:
Dominik Pschenitschni 2022-10-04 12:48:23 +02:00
parent f360ebfe98
commit 4655e1ce34
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
22 changed files with 57 additions and 47 deletions

View file

@ -15,7 +15,7 @@ export function isNil(value: unknown) {
return value == null
}
export function omitBy(obj: {}, check: (value: unknown) => boolean) {
export function omitBy(obj: Record<string, unknown>, check: (value: unknown) => boolean) {
if (isNil(obj)) {
return {}
}