You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 mytsconfig.json
, but removing it seems to let Node primitives bubble up. Should I be using the defaultlib
in my TS config to mimic an edge runtime context?The text was updated successfully, but these errors were encountered: