mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
This commit add type declarations for `object-inspect`. Related: - https://github.com/substack/object-inspect/pull/17
11 lines
229 B
TypeScript
11 lines
229 B
TypeScript
import objectInspect = require('object-inspect');
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {depth: Infinity});
|