Skip to content

Commit 29c2f6f

Browse files
sodHazAT
authored andcommitted
fix: Allow Integration<T> constructor to have arguments (getsentry#2115)
1 parent d4d5e38 commit 29c2f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/integration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Hub } from './hub';
33

44
/** Integration Class Interface */
55
export interface IntegrationClass<T> {
6-
new (): T;
6+
new (...args: any[]): T;
77
/**
88
* Property that holds the integration name
99
*/

0 commit comments

Comments
 (0)