diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index d94e7a368..1a4bf57d6 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -2744,44 +2744,6 @@ module TestReverse { } } -// _.prototype.run -module TestRun { - { - let result: string; - - result = _('').run(); - result = _('').chain().run(); - } - - { - let result: number; - - result = _(42).run(); - result = _(42).chain().run(); - } - - { - let result: boolean; - - result = _(true).run(); - result = _(true).chain().run(); - } - - { - let result: string[]; - - result = _([]).run(); - result = _([]).chain().run(); - } - - { - let result: {a: string}; - - result = _({a: ''}).run(); - result = _({a: ''}).chain().run(); - } -} - // _.prototype.toJSON module TestToJSON { { diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index e59f5a89e..11845033b 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -171,7 +171,7 @@ Removed 17 aliases - [ ] Removed aliase _.inject - [ ] Removed aliase _.methods - [ ] Removed aliase _.object -- [ ] Removed aliase _.run +- [x] Removed aliase _.run - [x] Removed aliase _.select - [x] Removed aliase _.unique @@ -4461,14 +4461,6 @@ declare module _ { reverse(): LoDashExplicitArrayWrapper; } - //_.prototype.run - interface LoDashWrapperBase { - /** - * @see _.value - */ - run(): T; - } - //_.prototype.toJSON interface LoDashWrapperBase { /** @@ -4492,7 +4484,7 @@ declare module _ { /** * Executes the chained sequence to extract the unwrapped value. * - * @alias _.run, _.toJSON, _.valueOf + * @alias _.toJSON, _.valueOf * * @return Returns the resolved unwrapped value. */