Join Slack
Powered by
Ive started using the React boilerplate (<https://...
# orm-help
j
Jim
05/10/2018, 5:00 AM
Ive started using the React boilerplate (
https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/advanced
) and now I need to handle file uploads. There is a file handeling template but its written in typescript (
https://github.com/graphcool/prisma/tree/master/examples/file-handling-s3
) What is the easist way to use this typescript file? Can I import the typescrip file into the normal javascript file and transpile it on the fly? Or should I concert it to a javascript file before I add it to my repo?
n
nilan
05/10/2018, 7:16 AM
you should probably convert it to js manually 🙂
nilan
05/10/2018, 7:16 AM
alternatively, think about using TS instead in general
4
Views
Open in Slack
Previous
Next