We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edceba commit 075acc1Copy full SHA for 075acc1
src/simple-props/types.ts
@@ -32,7 +32,7 @@ export type ComponentType<
32
ExtractProps<T>,
33
ExtractEvent<T>,
34
SlotsType<ExtractSlots<T> & S>
35
-> & { new (): Expose }
+> & { new (...args: any[]): Expose }
36
37
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N
38
export interface FunctionalComponent<
0 commit comments