Fix/Improve linting

This commit is contained in:
2026-08-06 08:50:21 +02:00
parent f641ad5f43
commit 06a16c5b64
288 changed files with 3372 additions and 1536 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-require-imports */
type List<T> = ArrayLike<T>;
type PartialDeep<T> = {
[P in keyof T]?: PartialDeep<T[P]>;
@@ -8,7 +9,7 @@ interface Dictionary<T> {
interface NumericDictionary<T> {
[index: number]: T;
}
type NotVoid = {} | null | undefined;
type NotVoid = NonNullable<unknown> | null | undefined;
type ListIteratee<T> = ListIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | [string, any] | PartialDeep<T>;