-
Notifications
You must be signed in to change notification settings - Fork 559
Expand file tree
/
Copy pathenv.d.ts
More file actions
26 lines (26 loc) · 822 Bytes
/
env.d.ts
File metadata and controls
26 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* eslint-disable */
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: 14e125d6d4ae127bad282f8a24a77d24)
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./src/server");
durableNamespaces: "EmailServiceAgent";
}
interface Env {
EMAIL: SendEmail;
EMAIL_FROM: "mailbox-7f3a@example.com";
EmailServiceAgent: DurableObjectNamespace<
import("./src/server").EmailServiceAgent
>;
}
}
interface Env extends Cloudflare.Env {}
type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string
? EnvType[Binding]
: string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<
Pick<Cloudflare.Env, "EMAIL_FROM">
> {}
}