logo
Deno Manual
  1. Introduction
  2. Getting Started
    1. Installation
    2. Set up your environment
    3. First steps
    4. Command line interface
    5. Configuration file
    6. Permissions
    7. Debugging your code
  3. The Runtime
    1. Stability
    2. Program lifecycle
    3. Permission APIs
    4. Web Platform APIs
    5. HTTP Server APIs
    6. HTTP Server APIs (low level)
    7. Location API
    8. Web Storage API
    9. Workers
    10. Foreign Function Interface API
  4. Linking to external code
    1. Reloading modules
    2. Integrity checking
    3. Proxies
    4. Private modules
    5. Import maps
  5. Using npm/Node.js code
    1. Node.js compatibility mode
    2. The std/node library
    3. Packages from CDNs
    4. Using import maps
    5. Frequently asked questions
    6. Node->Deno cheatsheet
  6. Using TypeScript
    1. Overview
    2. Configuration
    3. Types and type declarations
    4. Migrating to/from JavaScript
    5. Runtime compiler APIs
    6. Frequently asked questions
  7. Using JSX
    1. Configuring
  8. Using WebAssembly
    1. Using WebAssembly in Deno
    2. Using the streaming WebAssembly APIs
    3. Helpful resources
  9. Standard library
  10. Examples
    1. Hello world
    2. Import and export modules
    3. Manage dependencies
    4. Fetch data
    5. Read and write files
    6. Unix cat program
    7. HTTP web server
    8. File server
    9. TCP echo server
    10. Creating a subprocess
    11. OS signals
    12. File system events
    13. Module metadata
  11. Testing
    1. Assertions
    2. Coverage
    3. Documentation
    4. Sanitizers
  12. Tools
    1. Script installer
    2. Formatter
    3. Read-eval-print-loop
    4. Bundler
    5. Compiling executables
    6. Documentation generator
    7. Dependency inspector
    8. Linter
    9. Vendoring dependencies
  13. Continuous integration
  14. Using Visual Studio Code
  15. Language Server
    1. Overview of the language server
    2. Import suggestions and intelligent registries
  16. Embedding Deno
  17. Help
  18. Contributing
    1. Building from source
    2. Web platform tests
    3. Style guide
    4. Architecture
    5. Release schedule
logo
Deno Manual
  1. Introduction
  2. Getting Started
    1. Installation
    2. Set up your environment
    3. First steps
    4. Command line interface
    5. Configuration file
    6. Permissions
    7. Debugging your code
  3. The Runtime
    1. Stability
    2. Program lifecycle
    3. Permission APIs
    4. Web Platform APIs
    5. HTTP Server APIs
    6. HTTP Server APIs (low level)
    7. Location API
    8. Web Storage API
    9. Workers
    10. Foreign Function Interface API
  4. Linking to external code
    1. Reloading modules
    2. Integrity checking
    3. Proxies
    4. Private modules
    5. Import maps
  5. Using npm/Node.js code
    1. Node.js compatibility mode
    2. The std/node library
    3. Packages from CDNs
    4. Using import maps
    5. Frequently asked questions
    6. Node->Deno cheatsheet
  6. Using TypeScript
    1. Overview
    2. Configuration
    3. Types and type declarations
    4. Migrating to/from JavaScript
    5. Runtime compiler APIs
    6. Frequently asked questions
  7. Using JSX
    1. Configuring
  8. Using WebAssembly
    1. Using WebAssembly in Deno
    2. Using the streaming WebAssembly APIs
    3. Helpful resources
  9. Standard library
  10. Examples
    1. Hello world
    2. Import and export modules
    3. Manage dependencies
    4. Fetch data
    5. Read and write files
    6. Unix cat program
    7. HTTP web server
    8. File server
    9. TCP echo server
    10. Creating a subprocess
    11. OS signals
    12. File system events
    13. Module metadata
  11. Testing
    1. Assertions
    2. Coverage
    3. Documentation
    4. Sanitizers
  12. Tools
    1. Script installer
    2. Formatter
    3. Read-eval-print-loop
    4. Bundler
    5. Compiling executables
    6. Documentation generator
    7. Dependency inspector
    8. Linter
    9. Vendoring dependencies
  13. Continuous integration
  14. Using Visual Studio Code
  15. Language Server
    1. Overview of the language server
    2. Import suggestions and intelligent registries
  16. Embedding Deno
  17. Help
  18. Contributing
    1. Building from source
    2. Web platform tests
    3. Style guide
    4. Architecture
    5. Release schedule
logo
GitHubEdit on GitHub

Using TypeScript

In this chapter we will discuss:

  • Overview of TypeScript in Deno
  • Configuring TypeScript in Deno
  • Types and Type Declarations
  • Migrating to/from JavaScript
  • Runtime compiler APIs
  • FAQs about TypeScript in Deno
← Node->Deno cheatsheetOverview →