mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-17 14:22:52 +00:00
17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
import objectInspect = require('object-inspect');
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {depth: Infinity});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {quoteStyle: 'single'});
|
|
|
|
// $ExpectType string
|
|
objectInspect({foo: "bar"}, {quoteStyle: 'double'});
|