Ladybug Podcast cover image

Getting Started with TypeScript

Ladybug Podcast

00:00

Typescript

In the function signature, we can declare that both number one and number two arguments are meant to be a type of number. And so any time a user tries to pass a string, it will avoid this string concatnation error. Instead of just writing like kant's person with type object, we can be more specific about what that object is expecting.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app