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 0b0bd5e commit 50629fbCopy full SHA for 50629fb
2 files changed
dev-packages/cloudflare-integration-tests/suites/tracing/worker-service-binding/index-sub-worker.ts
@@ -5,7 +5,7 @@ interface Env {
5
}
6
7
const myWorker = {
8
- async fetch(request: Request) {
+ async fetch(_: Request) {
9
return new Response('Hello from another worker!');
10
},
11
};
packages/browser/src/integrations/view-hierarchy.ts
@@ -104,7 +104,7 @@ export const viewHierarchyIntegration = defineIntegration((options: Options = {}
104
return {
105
name: 'ViewHierarchy',
106
processEvent: (event, hint) => {
107
- if (options.shouldAttach && options.shouldAttach(event, hint) === false) {
+ if (options.shouldAttach?.(event, hint) === false) {
108
return event;
109
110
0 commit comments