UNPKG

@extra-array/take-right

Version:
10 lines (9 loc) 251 B
declare module "@extra-array/take-right" { /** * Keeps last n values only. * @param x an array * @param n number of values (1) */ declare function takeRight<T>(x: T[], n?: number): T[]; export = takeRight; //# sourceMappingURL=takeRight.d.ts.map}