Fixing eslint ignore broken by Prettier
This commit is contained in:
parent
10c3d6dee2
commit
3e464580ea
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue