Fixing eslint ignore broken by Prettier

This commit is contained in:
David Négrier 2021-06-24 10:23:32 +02:00
parent 10c3d6dee2
commit 3e464580ea
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import { ReadStream } from "fs";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function extend(who: any, from: any, overwrite = true) {
// eslint-disable-line @typescript-eslint/no-explicit-any
const ownProps = Object.getOwnPropertyNames(Object.getPrototypeOf(from)).concat(Object.keys(from));
ownProps.forEach((prop) => {
if (prop === "constructor" || from[prop] === undefined) return;