DefinitelyTyped/types/array-initial/index.d.ts
Richie Bendall ac055fa8f3
feat: Add types for array-initial (#42237)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-02-10 10:29:39 -08:00

9 lines
332 B
TypeScript

// Type definitions for array-initial 1.1
// Project: https://github.com/jonschlinkert/array-initial
// Definitions by: Richie Bendall <https://github.com/Richienb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function arrayInitial<T>(array: ArrayLike<T>, drop?: number): T[];
export = arrayInitial;