File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
withIsolationScope ,
12
12
withScope ,
13
13
} from '@sentry/core' ;
14
- import type { DurableObject } from 'cloudflare: workers' ;
14
+ import type { DurableObject } from '@ cloudflare/ workers-types ' ;
15
15
import { setAsyncLocalStorageAsyncContextStrategy } from './async' ;
16
16
import type { CloudflareOptions } from './client' ;
17
17
import { isInstrumented , markAsInstrumented } from './instrument' ;
@@ -189,7 +189,7 @@ function wrapMethodWithSentry<T extends OriginalMethod>(
189
189
*/
190
190
export function instrumentDurableObjectWithSentry <
191
191
E ,
192
- T extends DurableObject < E > ,
192
+ T extends DurableObject ,
193
193
C extends new ( state : DurableObjectState , env : E ) => T ,
194
194
> ( optionsCallback : ( env : E ) => CloudflareOptions , DurableObjectClass : C ) : C {
195
195
return new Proxy ( DurableObjectClass , {
You can’t perform that action at this time.
0 commit comments