mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Merge pull request #3645 from chrootsu/lazyjs-concat
Fix the argument of ArrayLikeSequence.concat() in Lazy.js definitions
This commit is contained in:
@@ -156,7 +156,7 @@ obj = fooSequence.toObject();
|
||||
|
||||
// ArrayLikeSequence
|
||||
|
||||
fooArraySeq = fooArraySeq.concat();
|
||||
fooArraySeq = fooArraySeq.concat(fooArr);
|
||||
fooArraySeq = fooArraySeq.first();
|
||||
fooArraySeq = fooArraySeq.first(num);
|
||||
foo = fooArraySeq.get(num);
|
||||
|
||||
2
lazy.js/lazy.js.d.ts
vendored
2
lazy.js/lazy.js.d.ts
vendored
@@ -176,7 +176,7 @@ declare module LazyJS {
|
||||
|
||||
interface ArrayLikeSequence<T> extends Sequence<T> {
|
||||
// define()X;
|
||||
concat(): ArrayLikeSequence<T>;
|
||||
concat(var_args: T[]): ArrayLikeSequence<T>;
|
||||
first(count?: number): ArrayLikeSequence<T>;
|
||||
get(index: number): T;
|
||||
length(): number;
|
||||
|
||||
Reference in New Issue
Block a user