Jonas Strassel

Results 105 comments of Jonas Strassel

I can confirm this did the trick for me! 🥳

> I had no cursor at all until restarting sway. This happened twice. I've got that one sometimes too and no idea what causes it. Not even sure this is...

Wouldn't it be an option to just stub out the handler during tests like so? ```typescript import type { QuirrelJobHandler } from 'quirrel/next'; export const Queue = ( route: string,...

this is certainly true if you want to test your queue handler - I use things like that when tests rely on queues to have run beforehand.

> '@supabase/auth-helpers-nextjs/middleware' is not found. I used '@supabase/auth-helpers-nextjs/dist/middleware' instead. I wonder if that ever worked. Without hacky tricks afaik having path imports is still a nightmare in typescript.

Not sure I understand how that could help. What could actually help IMO, is if we use the exports fields together with ts 4.7.x - Will give that a try.

hm. I don't get how to make that work.

thanks for the hint reg. typesVersions. Made it work in https://github.com/supabase-community/auth-helpers/pull/170 thanks to [this](https://antfu.me/notes#types-for-sub-modules) explanation.

edit: I guess nextjs processes paths extremely similar to [url-pattern](https://www.npmjs.com/package/url-pattern), so I'll just add that for now. Better ideas (preferrably using next utils) welcome!

> @boredland is this ready to go? I've had a look over the code and it looks good to me. I'd say so yes. Added an example app so you...