diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index d8dd0f317..6e70627ec 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -4217,10 +4217,24 @@ result = _([]).gt(2); result = _({}).gt(2); // _.gte -result = _.gte(1, 2); -result = _(1).gte(2); -result = _([]).gte(2); -result = _({}).gte(2); +module TestGte { + { + let result: boolean; + + result = _.gte(any, any); + result = _(1).gte(any); + result = _([]).gte(any); + result = _({}).gte(any); + } + + { + let result: _.LoDashExplicitWrapper; + + result = _(1).chain().gte(any); + result = _([]).chain().gte(any); + result = _({}).chain().gte(any); + } +} // _.isArguments result = _.isArguments(any); diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index 8226de52a..877d2e238 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -8188,20 +8188,31 @@ declare module _ { interface LoDashStatic { /** * Checks if value is greater than or equal to other. + * * @param value The value to compare. * @param other The other value to compare. * @return Returns true if value is greater than or equal to other, else false. */ - gte(value: any, other: any): boolean; + gte( + value: any, + other: any + ): boolean; } - interface LoDashImplicitWrapperBase { + interface LoDashImplicitWrapperBase { /** * @see _.gte */ gte(other: any): boolean; } + interface LoDashExplicitWrapperBase { + /** + * @see _.gte + */ + gte(other: any): LoDashExplicitWrapper; + } + //_.isArguments interface LoDashStatic { /**