Skip to content

Partial updates for lodash to 3.10.0 - #5094

Merged
vvakame merged 1 commit into
DefinitelyTyped:masterfrom
mdekrey:lodash-updates
Aug 17, 2015
Merged

vvakame merged 1 commit into
DefinitelyTyped:masterfrom
mdekrey:lodash-updates

Conversation

@mdekrey

@mdekrey mdekrey commented Jul 27, 2015

Copy link
Copy Markdown
Contributor

Updates for lodash according to docs and usage:

@tjoskar

tjoskar commented Jul 27, 2015

Copy link
Copy Markdown
Contributor

Hi,

Can you add _.defaultsDeep aswell?

Should not be more than (and some tests of curse):

//_.defaultsDeep
interface LoDashStatic {
    /**
    * This method is like _.defaults except that it recursively assigns default properties.
    * @param object The destination object.
    * @param sources The source objects.
    * @return The destination object.
    **/
    defaultsDeep<T, TResult>(
        object: T,
        ...sources: any[]): TResult;
}

interface LoDashObjectWrapper<T> {
    /**
    * @see _.defaultsDeep
    **/
    defaultsDeep<T, TResult>(...sources: any[]): LoDashObjectWrapper<TResult>
}

I can create a pull request to your branch if you want.

@tjoskar

tjoskar commented Jul 28, 2015

Copy link
Copy Markdown
Contributor

Never mind, it already exist a pull request for default deep: #5072

@vvakame

vvakame commented Jul 28, 2015

Copy link
Copy Markdown
Member

lodash/lodash.d.ts

to author(@bczengel). could you review this PR?
👍 or 👎?

check list

  • pass the Travic-CI test?

@bczengel

Copy link
Copy Markdown
Contributor

👍

vvakame added a commit that referenced this pull request Aug 17, 2015
Partial updates for lodash to 3.10.0
@vvakame
vvakame merged commit cd1bf73 into DefinitelyTyped:master Aug 17, 2015
@vvakame

vvakame commented Aug 17, 2015

Copy link
Copy Markdown
Member

@bczengel thanks!
@mdekrey thanks mate!

@mdekrey

mdekrey commented Aug 24, 2015

Copy link
Copy Markdown
Contributor Author

@vvakame Glad to be of service!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants