Update Constructor interface params (#1823)
* Update Constructor interface params * Adjust * Adjust
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user