DEV Community

Discussion on: I used to think TypeScript is a waste of time. Now I changed my mind.

Collapse
 
fly profile image
joon • Edited

I've also attempted using typescript the past couple of weeks on a side project.
TLDR; it doesnt seem to work too well with parcel(importing svgs)
I do find that the experience of using typescript was worthwhile, but I'm never using it again on a solo project unless I'm also using apollo-graphql.
Basically, I couldnt agree more with your views Lucas :)
Thank you for the post

Collapse
 
mateiadrielrafael profile image
Matei Adriel • Edited

You can import svgs very easly with typescript, just make sure to write a declaration file

Collapse
 
fly profile image
joon

True, but I think parcel itself has some unresolved issues.
Try this out.
github.com/parcel-bundler/parcel/i...

Collapse
 
bettercodingacademy profile image
Better Coding Academy

You're welcome!