mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
@types/ramda aperture incorrect type signature
The `list` argument should be `T[]` instead of `T`.
This commit is contained in:
parent
ac8fb9a68d
commit
c1ea67d097
4
ramda/index.d.ts
vendored
4
ramda/index.d.ts
vendored
@ -185,8 +185,8 @@ declare namespace R {
|
||||
* Returns a new list, composed of n-tuples of consecutive elements If n is greater than the length of the list,
|
||||
* an empty list is returned.
|
||||
*/
|
||||
aperture<T>(n: number, list: T): T[][];
|
||||
aperture(n: number): <T>(list: T) => T[][];
|
||||
aperture<T>(n: number, list: T[]): T[][];
|
||||
aperture(n: number): <T>(list: T[]) => T[][];
|
||||
|
||||
/**
|
||||
* Returns a new list containing the contents of the given list, followed by the given element.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user