diff --git a/packages/core/src/sdk/EventMappers/utils/deepClone.ts b/packages/core/src/sdk/EventMappers/utils/deepClone.ts index 44957d9aa..d64734ac6 100644 --- a/packages/core/src/sdk/EventMappers/utils/deepClone.ts +++ b/packages/core/src/sdk/EventMappers/utils/deepClone.ts @@ -4,29 +4,23 @@ * Copyright 2016-Present Datadog, Inc. */ -const isDate = (type: string, object: unknown): object is Date => { +const isDate = (type: string, _: unknown): _ is Date => { return type === 'Date'; }; -const isArray = (type: string, object: unknown): object is unknown[] => { +const isArray = (type: string, _: unknown): _ is unknown[] => { return type === 'Array'; }; -const isObject = ( - type: string, - object: unknown -): object is Record => { +const isObject = (type: string, _: unknown): _ is Record => { return type === 'Object'; }; -const isSet = (type: string, object: unknown): object is Set => { +const isSet = (type: string, _: unknown): _ is Set => { return type === 'Set'; }; -const isMap = ( - type: string, - object: unknown -): object is Map => { +const isMap = (type: string, _: unknown): _ is Map => { return type === 'Map'; };