fix more linting issues

This commit is contained in:
Philipp Kühn
2020-09-24 00:37:31 +02:00
parent ac33eb483e
commit 617cdd4d99
8 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
export default function magicMethods(Clazz: any) {
const classHandler = Object.create(null)
classHandler.construct = (_, args: any) => {
classHandler.construct = (_: any, args: any) => {
const instance = new Clazz(...args)
const instanceHandler = Object.create(null)
const get = Object.getOwnPropertyDescriptor(Clazz.prototype, '__get')