Skip to content

Commit a9d7726

Browse files
committed
fixup! fix(cloudflare): Ensure types for cloudflare handlers
1 parent 5993694 commit a9d7726

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cloudflare/src/handler.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ export function withSentry<
3333
Env = unknown,
3434
QueueHandlerMessage = unknown,
3535
CfHostMetadata = unknown,
36-
T extends ExportedHandler<Env, QueueHandlerMessage, CfHostMetadata> = ExportedHandler<Env, QueueHandlerMessage, CfHostMetadata>,
36+
T extends ExportedHandler<Env, QueueHandlerMessage, CfHostMetadata> = ExportedHandler<
37+
Env,
38+
QueueHandlerMessage,
39+
CfHostMetadata
40+
>,
3741
>(optionsCallback: (env: Env) => CloudflareOptions, handler: T): T {
3842
setAsyncLocalStorageAsyncContextStrategy();
3943

0 commit comments

Comments
 (0)