How to Setup Node.js with TypeScript in 2023

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thanks for this! Setting up a new Node project in 2023 is:
1 hour setting up the build environment
1 hour setting up linting
1 hour getting webpack to work
1 more hour optimizing everything
3 hours researching Deno / Bun / Vite, then deciding it's not worth it
1 hour wondering if you're better off with plain JS
1 hour remembering what you wanted to build

chenlim
Автор

A thousand thank-yous for this! I wish this video were linked in the TypeScript official getting started docs. As an infrequent JavaScript developer starting to dig into the TypeScript ecosystem, the legacy module situation is a huge stumbling block to get past. Love your straightforward presentation.

schmidtdisturbr
Автор

OMG I literally sat there with this exact issue an hour ago and couldn’t resolve it and this appears in my subscriptions — THANK YOU!!

bellabianchi
Автор

Why we need to target .js files when they extensions are .ts ? It is so confusing.

ukaszzbrozek
Автор

This guy is always reminding me why I
1. Hate the JS ecosystem with a passion
2. Admire the JS developers that maintain their sanity and build stuff with it

iatheman
Автор

Thank you! This could not come at a better time. For the life of me I could not get TypeScript working with my GraphQL setup but your review of the tsconfig files cleared up my confusion. My main issue was needing to add the .js file extensions to the imports.

TheBeastDispenser
Автор

Amazing tutorial, It's definitely a good tutorial for beginners, keep up the good work!

zyrenth
Автор

I spent 3 hours on fixing this. Thank you so much.

MisterNorthernCanuck
Автор

The video I never knew I needed, thanks Jeff :)

josephx
Автор

Exactly what I needed . Perfect video!

squsjlh
Автор

I feel like it might be a good idea to cover the ts-node package next time which is nice during development

ivanb
Автор

Every year for advent of code, I spend a majority of my time configuring my baseline JS/TS environment rather than working on the coding problems, which is fun because I get to see how much things have changed just like this video hits on 😆

Edit: I'm excited to see this full course and how it evolves ;D 🎉

CTSSTC
Автор

Yess!!!! I was hoping to see this video one day on your channel :)

codewithguillaume
Автор

you don't know how much you helped me.. thanks mate

danish
Автор

Love it! Looking forward to watching your full course. But please do it for experienced developers too

flatmapper
Автор

top notch video, can't wait for the 2024 guide

fizzdev
Автор

Kudos for the concise & resourceful video 🙌

HackSoft
Автор

life saver video <3 keep going bro !

aunimhassan
Автор

Million likes for this video! I spent the entire day debugging until I stumbled upon your video. Turns out, the issue was that I was importing a common JS package without specifying {"type":"module"} in the package.json. Thank you so much! ❤❤❤❤❤

shobhitsingh
Автор

i was here for the module thing, thanks

phaZZi