#AppLoadContext interface stopped working after upgrading to 1.6.8

1 messages · Page 1 of 1 (latest)

pearl spoke
#

For some reason my interface for AppLoadContext which I have in server.ts doesn't work anymore since upgrading to 1.6.8 interestingly enough I was sure it worked before 🤔 Or at least now I get red squiggly lines and before I didn't 😞 Also tried moving the interface into a global.d.ts which also import "@remix-run/server-runtime"; and adding the types directory, which contains global.d.ts, to tsconfig.json without any luck. What am I doing wrong?

#

The don't destructure tip solved my problem for now #1011023158129733662 message

and I think soon there's the fix which will make context always present 😃