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
Hi! I was trying to make myself familiar with react-dataflow-editor and set up the usage example from the Readme. Setting up the example I ran into the following type error related to the Editor state prop:
Apparently it's having a hard time digesting type S = GetSchema<typeof kinds>. Throwing in a @ts-ignore it all runs fine. I set this up using create-react-app with the typescript template if it makes any difference.
I would appreciate any headsup on where I'm taking the wrong turn here.
Best
Ferdinand
The text was updated successfully, but these errors were encountered:
Hi! I was trying to make myself familiar with react-dataflow-editor and set up the usage example from the Readme. Setting up the example I ran into the following type error related to the Editor state prop:
Here is the .tsx source:
Apparently it's having a hard time digesting
type S = GetSchema<typeof kinds>
. Throwing in a @ts-ignore it all runs fine. I set this up using create-react-app with the typescript template if it makes any difference.I would appreciate any headsup on where I'm taking the wrong turn here.
Best
Ferdinand
The text was updated successfully, but these errors were encountered: