From 8f297603234c5ba11538c9dad4fe67f1667a0915 Mon Sep 17 00:00:00 2001 From: Erwin van der Koogh <890386+evanderkoogh@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:05:12 +1000 Subject: [PATCH] clean up examples a bit --- examples/quickstart/src/index.ts | 2 +- examples/worker/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/quickstart/src/index.ts b/examples/quickstart/src/index.ts index 5cb76c0..ff56c20 100644 --- a/examples/quickstart/src/index.ts +++ b/examples/quickstart/src/index.ts @@ -27,7 +27,7 @@ const handler = { }, } -const config: ResolveConfigFn = (env: Env, _trigger: any) => { +const config: ResolveConfigFn = (env: Env) => { return { exporter: { url: 'https://api.honeycomb.io/v1/traces', diff --git a/examples/worker/src/index.ts b/examples/worker/src/index.ts index df37002..28446ee 100644 --- a/examples/worker/src/index.ts +++ b/examples/worker/src/index.ts @@ -14,7 +14,7 @@ const config: ResolveConfigFn = (env: Env, _trigger) => { } } -const doConfig: ResolveConfigFn = (env: Env, _trigger) => { +const doConfig: ResolveConfigFn = (env: Env) => { return { exporter: { url: 'https://api.honeycomb.io/v1/traces',