declare interface Array { findSafe(predicate: (value: T, index: number, obj: T[]) => boolean): T; }