Convert ./slices/**/* from .js to .tsx? - NextJS


I have started a new NextJS project w/typescript and I'm wanting to convert the various index.js files that are created my prismic to index.tsx

Screenshot 2022-10-04 at 12.31.10

However I am running into the following error when converting the file extension to .tsx

Am I missing something or is there no support for this yet? Thanks in advance :slight_smile:

1 Like

** SOLVED **
I forgot that you need to kill your server and restart....facepalm


Happens to the best of us :joy:

1 Like