edge-runtime
edge-runtime copied to clipboard
Does @edge-runtime/types need additional dependencies or settings?
Hello! I'm trying to integrate with edge-runtime into my project monorepo, but I'm having a few issues getting started with the types package. When I follow the instructions on the website, I end up with undefined values for Request, CryptoKey, and other Edge Runtime items.
I tracked it down to having "lib": ["ES2021"] in my tsconfig.json, but removing it seems to let Node primitives bubble up. Should I be using the default lib in my TS config to mimic an edge runtime context?