Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature Request: generate process.env types #7757

Open
vicb opened this issue Jan 14, 2025 · 0 comments
Open

🚀 Feature Request: generate process.env types #7757

vicb opened this issue Jan 14, 2025 · 0 comments

Comments

@vicb
Copy link
Contributor

vicb commented Jan 14, 2025

Ref:

There is a pending PR to populate process.env (first ref above) gated by the compatibility flag nodejs_compat_populate_process_env.

Once this is merged, we should update wrangler types to also generate the types for process.env, i.e.

namespace NodeJS {
  interface ProcessEnv {
    VARIABLE: string;
  }
}

/cc @jasnell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant