About 225,000 results
Open links in new tab
  1. TypeScript: Documentation - More on Functions

    Functions are the basic building block of any application, whether they’re local functions, imported from another module, or methods on a class. They’re also values, and just like other values, TypeScript …

  2. TypeScript Functions - W3Schools

    TypeScript has a specific syntax for typing function parameters and return values. Read more about functions here.

  3. How to write a function in Typescript ? - GeeksforGeeks

    Jul 23, 2025 · Writing a function in TypeScript is similar to writing it in JavaScript but with added parameters and return type. Note that any JavaScript function is a perfectly valid TypeScript function.

  4. Mastering Functions in TypeScript: A Comprehensive Guide

    Oct 19, 2025 · Functions in TypeScript offer a wide range of features that enhance the power and safety of JavaScript functions. By understanding the fundamental concepts, usage methods, common …

  5. TypeScript Functions - TutorialsTeacher.com

    While TypeScript provides the concept of classes and modules, functions still are an integral part of the language. In TypeScript, functions can be of two types: named and anonymous.

  6. TypeScript Functions

    In this tutorial, you will learn about the TypeScript functions and how to use type annotations to enforce the type checks for functions.

  7. TypeScript Functions: A Comprehensive Tutorial with Code Examples

    Oct 8, 2024 · In this tutorial, we’ll cover TypeScript functions in depth and provide several examples to illustrate different aspects of function types.

  8. TypeScript Function and Function Expression - Programiz

    A function is an independent block of code that performs a specific task. A function expression is a way to store functions in variables. In this tutorial, you'll learn about TypeScript functions and function …

  9. Functions - Learning TypeScript

    Learning TypeScript's Functions chapter shows how a function's parameters and return types can be inferred or explicitly declared in TypeScript:

  10. More on Functions | Typescript Docs

    Functions are the basic building block of any application, whether they're local functions, imported from another module, or methods on a class. They're also values, and just like other values, TypeScript …