type-plus
Version:
Provides additional types for TypeScript.
3 lines • 300 B
TypeScript
import type { KeyTypes } from './KeyTypes.js';
export declare function findKey<S extends Record<KeyTypes, any>, T = any>(subject: S, predicate: (this: T, key: keyof S, index: number, obj: Array<keyof S>, subject: S) => boolean, thisArg?: T): keyof S | undefined;
//# sourceMappingURL=findKey.d.ts.map