DefinitelyTyped/types/lodash-deep/index.d.ts
Stanko 2a82922144 Add basic types def for lodash-deep (#36825)
* Add basic types def for lodash-deep

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Add tests, tslint, tsconfig

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Make things pretty

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Remove new line

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Move changes to types dir

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Change fn from lodash-deep to index

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Change file list in tsconfig

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Modify module as per template, add lodash to tests

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Add typescript version

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>

* Remove new lines, fix header

Signed-off-by: Uzunov <stanko.uzunov@broadcom.com>
2019-07-18 11:06:59 -07:00

24 lines
561 B
TypeScript

// Type definitions for lodash-deep 2.0
// Project: https://github.com/DefinitelyTyped/lodash-deep
// Definitions by: Stan <https://github.com/uzust01>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.5
import * as _ from 'lodash';
declare module 'lodash' {
interface LoDashStatic {
deepMapValues(
object: any,
callback: any,
propertyPath?: any
): any;
}
}
export function deepMapValues(
object: any,
callback: any,
propertyPath?: any
): any;