Skip to content

Commit 3d801b8

Browse files
committed
Revert "chore: 更新 worker-configuration.d.ts,添加 LINE_CHANNEL_SECRET 和 LINE_CHANNEL_ACCESS_TOKEN 的類型定義"
This reverts commit 1cfe78f.
1 parent 1cfe78f commit 3d801b8

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

worker-configuration.d.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types` (hash: ed4878a73eb44d114e87127a92ea8250)
3-
// Runtime types generated with workerd@1.20260520.1 2026-01-28 nodejs_compat
2+
// Generated by Wrangler by running `wrangler types` (hash: a1d078614f11bca5b7cd9a5c71cfb1b4)
3+
// Runtime types generated with workerd@1.20260520.1 2026-01-28
44
interface __BaseEnv_Env {
55
LINE_CHANNEL_SECRET: SecretsStoreSecret;
66
LINE_CHANNEL_ACCESS_TOKEN: SecretsStoreSecret;
77
CF_VERSION_METADATA: WorkerVersionMetadata;
8-
LINE_CHANNEL_SECRET: string;
9-
LINE_CHANNEL_ACCESS_TOKEN: string;
108
}
119
declare namespace Cloudflare {
1210
interface GlobalProps {
@@ -15,12 +13,6 @@ declare namespace Cloudflare {
1513
interface Env extends __BaseEnv_Env {}
1614
}
1715
interface Env extends __BaseEnv_Env {}
18-
type StringifyValues<EnvType extends Record<string, unknown>> = {
19-
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
20-
};
21-
declare namespace NodeJS {
22-
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "LINE_CHANNEL_SECRET" | "LINE_CHANNEL_ACCESS_TOKEN">> {}
23-
}
2416

2517
// Begin runtime types
2618
/*! *****************************************************************************

0 commit comments

Comments
 (0)