Symbol.search A regular expression method that returns the index within a string that matches the regular expression. Called by
Grunt
Tracing module resolution As discussed earlier, the compiler can visit files outside the current folder when resolving a module. This can be
Using npm npm install -g typescript@next
// Type definitions for [~THE LIBRARY NAME~] [~OPTIONAL VERSION NUMBER~] // Project: [~THE PROJECT NAME~] // Definitions by: [~YOUR
Function Parameter Bivariance When comparing the types of function parameters, assignment succeeds if either the source parameter is assignable
Type Guards and Differentiating Types Union types are useful for modeling situations when values can overlap in the types they can take on.
Webpack Webpack integration is pretty simple. You can use ts-loader, a TypeScript loader, combined with source-map-loader
Test the resulting app gulp node dist/main.js The program
var declarations Declaring a variable in JavaScript has always traditionally been done with the var keyword.
Page 16 of 29