Adding a type for a secret to worker-configuration.d.ts

What's the recommended way of adding the fact that a secret exists to the automatically generated worker-configuration.d.ts? Is it possible to hint at it in the wrangler file?
1 Reply
Kyzer
Kyzer6mo ago
I believe you put them in the .dev.vars and then the wrangler types auto gen should pick them up

Did you find this page helpful?