-1

i want to create a web app in relay using found-relay routing. I looked at this sample in relay modern which i think is great: sample but i try tried to look at found-relay and I can't find @types/found-relay unlike @types/react-router-dom? i am wondering if it'd be possible to use found-relay in relay modern+typescript?

gpbaculio
  • 5,693
  • 13
  • 60
  • 102

1 Answers1

0

Maybe it's not the best practice, but I solved it like this:

create types.d.ts in your ./src and add declare module 'found-relay'. That's it.

It works for me!

Kavoos
  • 377
  • 4
  • 19