UNPKG

@extra-array/index-of

Version:
11 lines (10 loc) 276 B
declare module "@extra-array/index-of" { /** * Finds first index of a value. * @param x an array * @param v search value * @param i start index (0) */ declare function indexOf<T>(x: T[], v: T, i?: number): number; export = indexOf; //# sourceMappingURL=indexOf.d.ts.map}