export {} // Temporary solution for typescript not including Array.findLast() declare global { interface Array { findLast( predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any ): T | undefined } }