(obj: any, omitKeys: string[])
| 62 | } |
| 63 | |
| 64 | const omit = (obj: any, omitKeys: string[]) => { |
| 65 | const newObj = { ...obj }; |
| 66 | omitKeys.forEach((key) => delete newObj[key]); |
| 67 | return newObj; |
| 68 | }; |
| 69 | |
| 70 | function getInp(report: LH.FlowResult) { |
| 71 | const inpAudit = |