Update Constructor interface params (#1823)

* Update Constructor interface params

* Adjust

* Adjust
This commit is contained in:
Jaco
2023-05-05 10:01:56 +03:00
committed by GitHub
parent 1876efe13e
commit 6357c1e040
+2 -1
View File
@@ -3,7 +3,8 @@
import type { BN } from './bn/bn.js';
export interface Constructor<T extends object = object> {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export interface Constructor<T = any> {
prototype: T;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
new (...args: any[]): T;