File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
packages/core/src/sdk/EventMappers/utils Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 44 * Copyright 2016-Present Datadog, Inc.
55 */
66
7- const isDate = ( type : string , object : unknown ) : object is Date => {
7+ const isDate = ( type : string , _ : unknown ) : _ is Date => {
88 return type === 'Date' ;
99} ;
1010
11- const isArray = ( type : string , object : unknown ) : object is unknown [ ] => {
11+ const isArray = ( type : string , _ : unknown ) : _ is unknown [ ] => {
1212 return type === 'Array' ;
1313} ;
1414
15- const isObject = (
16- type : string ,
17- object : unknown
18- ) : object is Record < string , unknown > => {
15+ const isObject = ( type : string , _ : unknown ) : _ is Record < string , unknown > => {
1916 return type === 'Object' ;
2017} ;
2118
22- const isSet = ( type : string , object : unknown ) : object is Set < unknown > => {
19+ const isSet = ( type : string , _ : unknown ) : _ is Set < unknown > => {
2320 return type === 'Set' ;
2421} ;
2522
26- const isMap = (
27- type : string ,
28- object : unknown
29- ) : object is Map < string , unknown > => {
23+ const isMap = ( type : string , _ : unknown ) : _ is Map < string , unknown > => {
3024 return type === 'Map' ;
3125} ;
3226
You can’t perform that action at this time.
0 commit comments