fix(types): relax ComponentPublicInstanceConstructor type for class components (#1943)
This commit is contained in:
@@ -107,7 +107,7 @@ export type ComponentPublicInstanceConstructor<
|
||||
__isFragment?: never
|
||||
__isTeleport?: never
|
||||
__isSuspense?: never
|
||||
new (): T
|
||||
new (...args: any[]): T
|
||||
}
|
||||
|
||||
export type CreateComponentPublicInstance<
|
||||
|
||||
Reference in New Issue
Block a user