(object: {[key: string]: any}, key: string)
| 55 | } |
| 56 | |
| 57 | export const removeKey = (object: {[key: string]: any}, key: string) =>{ |
| 58 | delete object[key] |
| 59 | return object; |
| 60 | } |
| 61 | export const replaceKeys = (object1: {[key: string]: any}, object2: {[key: string]: string}) => { |
| 62 | // Create a new empty object to hold the result |
| 63 | const newObject : {[key: string]: any} = {}; |
nothing calls this directly
no outgoing calls
no test coverage detected