Variable redactSensitiveConst
redactSensitive: (
value: unknown,
options?: { maxDepth?: number; placeholder?: string },
) => unknown
Type Declaration
-
- (value: unknown, options?: { maxDepth?: number; placeholder?: string }): unknown
-
Parameters
- value: unknown
Optionaloptions: { maxDepth?: number; placeholder?: string }
Returns unknown
Deep copy with sensitive fields replaced by '[REDACTED]'. Never throws.