-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
30 lines (29 loc) · 787 Bytes
/
Copy pathtypes.ts
File metadata and controls
30 lines (29 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @module
* Types for custom inspects for Deno/NodeJS console logging.
*/
/**
* The options passed to custom inspect functions (options passed through to `Symbol.for('Deno.customInspect')` method
* when an object is inspected. Partially modified from `lib.deno.ns.d.ts`)
*/
export type InspectOptions = {
/** The current depth of the object being inspected. */
currentDepth: number
/** The current indentation level. 1 indentation level typically corresponds to 2 spaces. */
indentationLvl: number
/**
* Stylize output with ANSI colors.
* @default {false}
*/
colors: boolean
/**
* Traversal depth for nested objects.
* @default {4}
*/
depth: number
/**
* The maximum number of iterable entries to print.
* @default {100}
*/
iterableLimit: number
}