No BS TS #3 - Typescript Functions with Functions

preview_player
Показать описание
Let's look at how to define Typescript functions take functions as parameters or return functions.

00:00 Introduction
00:26 Function parameters
01:27 Function params with params
03:13 Functions as types
04:57 Returning functions
07:00 Outroduction

👉 What's my theme? Night Wolf [dark blue]
👉 What's that font? MonoLisa

💢 Watch our other videos:

Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.

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

Your videos helped me pass a coding test with Typescript and land my first React dev job!! Thank you so much for providing such great content for the community!

grhayes
Автор

Ever since discovering this channel, going back to plain js from ts feels impossible. Thanks for all your help!

jackh
Автор

I've been a backend developer for two years.
So coming back to the front-end world was stressful until I discovered your channel.
Really love the content, with quick, fast and easy-to-understand concepts.

Thank you so much

JorSenpai
Автор

I have been reading and practicing TS for the last one month but there is nothing like this channel that cleares all my doubts...I can't thank enough

Abogida
Автор

Watching your videos in the morning really sets me up for the day, Jack. big love.

thehaptiK
Автор

Jack you are my favorite instructor on YT. you always bring such positivity into videos.

tanercoder
Автор

Been listening to these video's while at work.

zykoz
Автор

Excellent job, best typescript tutorial in YouTube

balamca
Автор

I found your tutorials best of the best. I found it great help for my typescript and react learning. Well Done

usmaninuk
Автор

I like a lot your videos Jack and your shirts are cool. I'll keep watching you and keep doing it great. Thanks!

MauricioGR
Автор

Hi Jack, first video I've seen of yours, seems great, thanks! Quick question if you don't mind - you keep exporting functions and properties, but aren't using them in different modules - was there a TS reason for this?

Thanks again!

nickwoodward
Автор

Hi there. Great content. Tks so much.

Can we use function type definitions as you did with "myNewMutateFunc" but instead of using it with const, apply the type definition with the traditional function declarations?

I tried something like this before but could not make it work:
function myNewMutateFunc: MutationFunction { ... }

joaomelo
Автор

Small note AdderFunction type is redundat as MyNewMuation type is of MutationFunction's type already declared indeed

carminetambascia
Автор

your way of sharing the knowledge is awsome. Thanks a lot and lot of love from India :-)

IamManu_India
Автор

Hi Jack, I'm confuse, when to use interface vs type?

chaerulchuluq
Автор

2:40 your code formatted automatically. Is that some sort of formatter? or is it keyboard shortcut?

ThePublicst
Автор

how to use cmd K + cmd I on ubuntu do i have to install vs code plugin?

madipta
Автор

god will not forgive anyone if they don't like and comment. :D

SahilRajput