From 143590c009c52aa2ea97dd55aaa48266d6131c59 Mon Sep 17 00:00:00 2001 From: Michael Doughty Date: Wed, 12 Sep 2018 15:57:11 -0400 Subject: [PATCH] object -> any --- types/lazy.js/index.d.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/types/lazy.js/index.d.ts b/types/lazy.js/index.d.ts index b105533c30..6f5f0771c7 100644 --- a/types/lazy.js/index.d.ts +++ b/types/lazy.js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Lazy.js 0.3.2 +// Type definitions for Lazy.js 0.3.3 // Project: https://github.com/dtao/lazy.js/ // Definitions by: Bart van der Schoor , Mike Doughty // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -8,8 +8,8 @@ declare namespace LazyJS { (value: string): StringLikeSequence; (value: T[]): ArrayLikeSequence; (value: any[]): ArrayLikeSequence; - (value: object): ObjectLikeSequence; - (value: object): ObjectLikeSequence; + (value: any): ObjectLikeSequence; + (value: any): ObjectLikeSequence; strict(): LazyStatic; @@ -106,7 +106,7 @@ declare namespace LazyJS { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - namespace Sequence { - function define(methodName: string[], overrides: object): Function; + function define(methodName: string[], overrides: any): Function; } interface Sequence extends SequenceBase { @@ -139,7 +139,7 @@ declare namespace LazyJS { every(predicateFn: TestCallback): boolean; filter(predicateFn: TestCallback): Sequence; find(predicateFn: TestCallback): T; - findWhere(properties: object): T; + findWhere(properties: any): T; flatten(): Sequence; groupBy(keyFn: GetKeyCallback): ObjectLikeSequence; initial(count?: number): Sequence; @@ -166,10 +166,10 @@ declare namespace LazyJS { sum(valueFn?: NumberCallback): T; takeWhile(predicateFn: TestCallback): Sequence; toArray(): T[]; - toObject(): object; + toObject(): any; union(var_args: T[]): Sequence; uniq(): Sequence; - where(properties: object): Sequence; + where(properties: any): Sequence; without(...var_args: T[]): Sequence; without(var_args: T[]): Sequence; zip(var_args: T[]): Sequence; @@ -178,7 +178,7 @@ declare namespace LazyJS { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - namespace ArrayLikeSequence { - function define(methodName: string[], overrides: object): Function; + function define(methodName: string[], overrides: any): Function; } interface ArrayLikeSequence extends Sequence { @@ -210,24 +210,24 @@ declare namespace LazyJS { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - namespace ObjectLikeSequence { - function define(methodName: string[], overrides: object): Function; + function define(methodName: string[], overrides: any): Function; } interface ObjectLikeSequence extends Sequence { - assign(other: object): ObjectLikeSequence; + assign(other: any): ObjectLikeSequence; // throws error //async(): X; - defaults(defaults: object): ObjectLikeSequence; + defaults(defaults: any): ObjectLikeSequence; functions(): Sequence; get(property: string): T; invert(): ObjectLikeSequence; keys(): Sequence; - merge(others: object | ObjectLikeSequence, mergeFn?: Function): ObjectLikeSequence; + merge(others: any | ObjectLikeSequence, mergeFn?: Function): ObjectLikeSequence; omit(properties: string[]): ObjectLikeSequence; pairs(): Sequence; pick(properties: string[]): ObjectLikeSequence; toArray(): T[]; - toObject(): object; + toObject(): any; values(): Sequence; watch(propertyNames: string | string[]): Sequence<{property: string; value: any;}>; @@ -244,7 +244,7 @@ declare namespace LazyJS { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - namespace StringLikeSequence { - function define(methodName: string[], overrides: object): Function; + function define(methodName: string[], overrides: any): Function; } interface StringLikeSequence extends SequenceBaser {