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 b10aa1d commit 9cdf9f2Copy full SHA for 9cdf9f2
dev-packages/e2e-tests/test-applications/cloudflare-hono/src/env.d.ts
@@ -0,0 +1,6 @@
1
+// Generated by Wrangler on Mon Jul 29 2024 21:44:31 GMT-0400 (Eastern Daylight Time)
2
+// by running `wrangler types`
3
+
4
+interface Env {
5
+ E2E_TEST_DSN: '';
6
+}
dev-packages/e2e-tests/test-applications/cloudflare-hono/src/index.ts
@@ -1,4 +1,4 @@
-import { Hono } from 'hono';
+import { Env, Hono } from 'hono';
import * as Sentry from '@sentry/cloudflare';
const app = new Hono();
@@ -26,7 +26,7 @@ app.notFound(ctx => {
26
});
27
28
export default Sentry.withSentry(
29
- env => ({
+ (env: Env) => ({
30
dsn: env.E2E_TEST_DSN,
31
tracesSampleRate: 1.0,
32
}),
0 commit comments