Type conflict between yoga server and node server #2818
-
Hi, I'm new to Typescript, and to GraphQL Yoga. I'm trying to use strict settings for my compiler and linter, and am struggling with getting the very basic "hello world" kind of setup to compile. I've created this repo to share this problem. Included in this repo are the strict compiler and linter settings. And the code that reproduces the problem is a copy-paste of the issues template in the GraphQL Yoga repo. Reproduce the issue
You should see the following error message:
Any advice how to solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Does it work when you disable |
Beta Was this translation helpful? Give feedback.
Does it work when you disable
exactOptionalPropertyTypes
in yourtsconfig
file?