TypeScript 1.3
  • References/JavaScript/TypeScript/What's New

Protected The new protected modifier in classes works like it does in familiar languages like C++, C#, and Java. A protected

2025-01-10 15:47:30
Re-export to extend
  • References/JavaScript/TypeScript/Modules

Re-export to extend Often you will need to extend functionality on a module. A common JS pattern is to augment the original object with extensions

2025-01-10 15:47:30
Initialize the project
  • References/JavaScript/TypeScript/Tutorials

Initialize the project Now we’ll turn this folder into an npm package. npm

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

NuGet Right-Click -> Manage NuGet Packages Search for Microsoft.TypeScript.MSBuild Hit Install

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

compileOnSave Setting a top-level property compileOnSave signals to the IDE to generate all files for a given tsconfig

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

Symbol.search A regular expression method that returns the index within a string that matches the regular expression. Called by

2025-01-10 15:47:30
Array destructuring
  • References/JavaScript/TypeScript/Variable Declarations

Array destructuring The simplest form of destructuring is array destructuring assignment:

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

Symbol.match A regular expression method that matches the regular expression against a string. Called by the String.prototype

2025-01-10 15:47:30
The as operator
  • References/JavaScript/TypeScript/JSX

The as operator Recall how to write a type assertion: var

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

Union Types Union types are closely related to intersection types, but they are used very differently. Occasionally, you’ll run into a library

2025-01-10 15:47:30