Intersection Types
  • References/JavaScript/TypeScript/Advanced Types

Intersection Types An intersection type combines multiple types into one. This allows you to add together existing types to get a single type

2025-01-10 15:47:30
TypeScript 1.6
  • References/JavaScript/TypeScript/What's New

JSX support JSX is an embeddable XML-like syntax. It is meant to be transformed into valid JavaScript, but the semantics of that transformation

2025-01-10 15:47:30
Export statements
  • References/JavaScript/TypeScript/Modules

Export statements Export statements are handy when exports need to be renamed for consumers, so the above example can be written as:

2025-01-10 15:47:30
MSBuild
  • References/JavaScript/TypeScript/Project Configuration

MSBuild Update project file to include locally installed Microsoft.TypeScript.Default.props (at the top) and Microsoft.TypeScript

2025-01-10 15:47:30
replace
  • References/JavaScript/TypeScript/Symbols

Symbol.replace A regular expression method that replaces matched substrings of a string. Called by the String.prototype

2025-01-10 15:47:30
Type Aliases
  • References/JavaScript/TypeScript/Advanced Types

Type Aliases Type aliases create a new name for a type. Type aliases are sometimes similar to interfaces, but can name primitives, unions, tuples

2025-01-10 15:47:30
Import
  • References/JavaScript/TypeScript/Modules

Import Importing is just about as easy as exporting from a module. Importing an exported declaration is done through using one of the import

2025-01-10 15:47:30
TypeScript 1.1
  • References/JavaScript/TypeScript/What's New

Performance Improvements The 1.1 compiler is typically around 4x faster than any previous release. See

2025-01-10 15:47:30
Debug
  • References/JavaScript/TypeScript/Tutorials

Debug In Edge, press F12 and click the Debugger tab. Look in the first localhost folder, then src/app.ts

2025-01-10 15:47:30
Getting Stricter Checks
  • References/JavaScript/TypeScript/Tutorials

Getting Stricter Checks TypeScript comes with certain checks to give you more safety and analysis of your program. Once you’ve converted your

2025-01-10 15:47:30