-
I'm trying to use pothos in deno and have the following issue:
results in AuthPayloadObject being of type:
It's like typescript does not assign the correct type to the generic, which prevents me from calling any functions at all, for example |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
This looks like a bug was introduced in esm.sh. For example, if you open up https://esm.sh/v126/@pothos/[email protected]/X-ZS8q/dts/builder.d.ts, you will see an import like: import ObjectRef, { ImplementableObjectRef } from './refs/object'; This should be |
Beta Was this translation helpful? Give feedback.
Fix for esm.sh here: esm-dev/esm.sh#675
Hopefully.that should make the documented solution work again