mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[dot-object] update objecttype (#42845)
* [dot-object] update `object`type * Update index.d.ts * Update index.d.ts
This commit is contained in:
parent
37dd9285e9
commit
9af2953e04
4
types/dot-object/index.d.ts
vendored
4
types/dot-object/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for Dot-Object 1.7
|
||||
// Type definitions for Dot-Object 2.1
|
||||
// Project: https://github.com/rhalff/dot-object
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -99,7 +99,7 @@ declare namespace DotObject {
|
||||
* @param {Object} obj
|
||||
* @param {Object} mods
|
||||
*/
|
||||
object(obj: any, mods?: ModifierFunctionWrapper | Array<ModifierFunctionWrapper>): void;
|
||||
object(obj: object, mods?: ModifierFunctionWrapper | Array<ModifierFunctionWrapper>): object;
|
||||
/**
|
||||
*
|
||||
* Pick a value from an object using dot notation.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user