#16 Function Type for Callback | TypeScript Basics & Data Types | A Complete TypeScript Course

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 4

  • @mdaaqil5334
    @mdaaqil5334 Місяць тому

    This video does accommodate a main concept of typescript👏👏👏

  • @huyhieunguyen1995
    @huyhieunguyen1995 5 місяців тому

    00:02 Function types allow assigning specific types of functions to variables in TypeScript.
    01:06 Function type for callback explained
    02:04 Functions with multiple parameters and a default 'any' type parameter.
    03:02 Creating a function to print a message and result
    03:59 Assigning a callback function to a parameter in TypeScript.
    04:59 Functions as callback should not return any value
    05:49 Passing a callback function in TypeScript with specific parameter types and return type
    06:56 Understanding function type for callback in TypeScript.

  • @muhammadnaveed7953
    @muhammadnaveed7953 8 місяців тому +1

    Thank you Sir ❤

  • @hassannouri9796
    @hassannouri9796 Місяць тому

    ❤❤❤