diff --git a/types/lazy.js/index.d.ts b/types/lazy.js/index.d.ts index 0cb6ce2f95..e7cc3f8fed 100644 --- a/types/lazy.js/index.d.ts +++ b/types/lazy.js/index.d.ts @@ -1,7 +1,10 @@ -// Type definitions for Lazy.js 0.3.4 +// Type definitions for Lazy.js 0.5.1 // Project: https://github.com/dtao/lazy.js/ -// Definitions by: Bart van der Schoor , Mike Doughty +// Definitions by: Bart van der Schoor +// Mike Doughty +// Gabriel Lorquet // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 declare namespace LazyJS { interface LazyStatic { @@ -168,7 +171,7 @@ declare namespace LazyJS { toArray(): T[]; toObject(): any; union(var_args: T[]): Sequence; - uniq(): Sequence; + uniq(key?: keyof T): Sequence; where(properties: any): Sequence; without(...var_args: T[]): Sequence; without(var_args: T[]): Sequence; @@ -284,4 +287,4 @@ declare namespace LazyJS { declare module 'lazy.js' { export = Lazy; } - \ No newline at end of file +