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 {
1111 withIsolationScope ,
1212 withScope ,
1313} from '@sentry/core' ;
14- import type { DurableObject } from 'cloudflare: workers' ;
14+ import type { DurableObject } from '@ cloudflare/ workers-types ' ;
1515import { setAsyncLocalStorageAsyncContextStrategy } from './async' ;
1616import type { CloudflareOptions } from './client' ;
1717import { isInstrumented , markAsInstrumented } from './instrument' ;
@@ -189,7 +189,7 @@ function wrapMethodWithSentry<T extends OriginalMethod>(
189189 */
190190export function instrumentDurableObjectWithSentry <
191191 E ,
192- T extends DurableObject < E > ,
192+ T extends DurableObject ,
193193 C extends new ( state : DurableObjectState , env : E ) => T ,
194194> ( optionsCallback : ( env : E ) => CloudflareOptions , DurableObjectClass : C ) : C {
195195 return new Proxy ( DurableObjectClass , {
You can’t perform that action at this time.
0 commit comments