Trpc Vanilla client producing ts errors
Creating a vanilla trpc client to hopefully use in my Plasmo Extension and it gives me this error
With i believe this being a key factor:
"Type 'AbortSignalEsque' is missing the following properties from type 'AbortSignal': onabort, reason, throwIfAborted, removeEventListener, dispatchEvent"
Anyone have any ideas?
2 Replies
can you open an issue with a reproduction? this might be our bad
need to know with implemention of fetch you use
so we can fix our types
but for now you can do
return fetch(...) as any
👍 Ill give it my best shot, currently down a code rabbit-hole so it may take a while for me to reproduce it not on my codebase 😂