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
I wanted to use your plugin in an existing Typescript project where we already have nexus 1.3.0 in place, and already when I tried adding it as a plugin in the makeSchema function call, I got a type error:
Der Typ "import(".../node_modules/nexus-federation-plugin/node_modules/nexus/dist/plugin").NexusPlugin" kann dem Typ "import(".../node_modules/nexus/dist/plugin").NexusPlugin" nicht zugewiesen werden.
Die Typen von "config.fieldDefTypes" sind zwischen diesen Typen nicht kompatibel.
Der Typ "import(".../node_modules/nexus-federation-plugin/node_modules/nexus/dist/plugin").StringLike | import(".../node_modules/nexus-federation-plugin/node_modules/nexus/dist/plugin").StringLike[] | undefined" kann dem Typ "import(".../node_modules/nexus/dist/plugin").StringLike | import(".../node_modules/nexus/dist/plugin").StringLike[] | undefined" nicht zugewiesen werden.
Der Typ "PrintedGenTyping" kann dem Typ "StringLike | StringLike[] | undefined" nicht zugewiesen werden.
Der Typ "import("...node_modules/nexus-federation-plugin/node_modules/nexus/dist/utils").PrintedGenTyping" kann dem Typ "import(".../node_modules/nexus/dist/utils").PrintedGenTyping" nicht zugewiesen werden.
Die Eigenschaft "config" ist geschützt, Typ "PrintedGenTyping" ist aber keine von "PrintedGenTyping" abgeleitete Klasse.ts(2322)
(Sorry for the German)
It is basically complaining, that the NexusPlugin types are not compatible.
The text was updated successfully, but these errors were encountered:
I wanted to use your plugin in an existing Typescript project where we already have nexus 1.3.0 in place, and already when I tried adding it as a plugin in the
makeSchema
function call, I got a type error:(Sorry for the German)
It is basically complaining, that the
NexusPlugin
types are not compatible.The text was updated successfully, but these errors were encountered: