tsc
This commit is contained in:
@@ -170,12 +170,12 @@ class Logger {
|
|||||||
|
|
||||||
if (isString(input)) {
|
if (isString(input)) {
|
||||||
if (sensitiveFields.some((field) => input.includes(field))) {
|
if (sensitiveFields.some((field) => input.includes(field))) {
|
||||||
return "[Filtered]" as T;
|
return ("[Filtered]" as any) as T;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isArray(input)) {
|
if (isArray(input)) {
|
||||||
return input.map(this.sanitize) as T;
|
return (input.map(this.sanitize) as any) as T;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isObject(input)) {
|
if (isObject(input)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user