Can you use uploadthing with javascript and not typescript

I'm only using javascript for my app, i wonder if I could still use uploadthing
Solution:
you can ignore the types
Jump to solution
25 Replies
Neto
Neto•2y ago
yes
rainy
rainyOP•2y ago
Aight Do you have a tutorial for that? the docs are all in ts 😭
Solution
Neto
Neto•2y ago
you can ignore the types
Neto
Neto•2y ago
or remove them
rainy
rainyOP•2y ago
aight, ima see how it goes
barry
barry•2y ago
Imagine using JavaScript and not typescript
rainy
rainyOP•2y ago
could be me i dont wanna write 20 more lines of code for something that can be done in 10 lines bro
barry
barry•2y ago
tell me you misunderstand typescript without telling me you misunderstand typescript
rainy
rainyOP•2y ago
no, i get what its for i actually do plan on learning and using it in the foreseeable future lol
Exotica
Exotica•2y ago
There is a reason why TS requires 20 lines rather than js with 10 lines. You are not gonna get code auto complete and type hints. Gonna be struggling real hard in larger projects with other people working on it too.
barry
barry•2y ago
my whole point was ts doesnt take 20 lines when js is 10
rainy
rainyOP•2y ago
well in super large profits ima have to use TS but i do like to use JS whenever i can well, technically, i probably could do stuff in JS probably not ideal but i could
Exotica
Exotica•2y ago
It's up to you bro. Just use whats comfortable and works for you. Just wanted to say that there is a reason why you have to write extra lines of code in TS because those extra code is so meaningful and could save you time in the future even for smaller projects. If JS floats your boat go ahead but you might hit a painpoint at one point and TS will safe your life and thats why people recommend to use TS
rainy
rainyOP•2y ago
yeah yeah, i do plan on learning it
Exotica
Exotica•2y ago
TS complies to JS in the end so you could do the same thing with JS and TS
rainy
rainyOP•2y ago
it would be fun either way
Exotica
Exotica•2y ago
Make sure you don't learn TS with tutorials. Theo already made a video about it if you know it https://www.youtube.com/watch?v=kRiD6ZpAN_o
Theo - t3․gg
YouTube
Don't Learn TypeScript
I'm so sorry for this. #typescript #javascript ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg Everything else (Twitch, Twitter, Discord & my blog): https://t3.gg/links
rainy
rainyOP•2y ago
i mean i know a bunch of other static type languages so it wouldn't be TOO hard
barry
barry•2y ago
its not hard at all
Exotica
Exotica•2y ago
yep just when u get to the point just try to use typescript instead of following a long tutorial on it. It's really not that hard
barry
barry•2y ago
atleast not the basics or the basic generics
rainy
rainyOP•2y ago
well i could give it a read before using it
Exotica
Exotica•2y ago
oh when u get to library typing lol
rainy
rainyOP•2y ago
i do prefer reading over watching anyways
barry
barry•2y ago
typescripts beginner docs are funky but u do u
Want results from more Discord servers?
Add your server