Extending Interfaces
  • References/JavaScript/TypeScript/Interfaces

Extending Interfaces Like classes, interfaces can extend each other. This allows you to copy the members of one interface into another, which

2025-01-10 15:47:30
instanceof type guards
  • References/JavaScript/TypeScript/Advanced Types

instanceof type guards If you’ve read about typeof type guards and are familiar with the instanceof

2025-01-10 15:47:30
Optional Parameters and Rest Parameters
  • References/JavaScript/TypeScript/Type Compatibility

Optional Parameters and Rest Parameters When comparing functions for compatibility, optional and required parameters are interchangeable. Extra

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
Mixins
  • References/JavaScript/TypeScript/Mixins

Introduction Along with traditional OO hierarchies, another popular way of building up classes from reusable components is to build them by

2025-01-10 15:47:30
Global augmentation
  • References/JavaScript/TypeScript/Declaration Merging

Global augmentation You can also add declarations to the global scope from inside a module:

2025-01-10 15:47:30
Function Types
  • References/JavaScript/TypeScript/Interfaces

Function Types Interfaces are capable of describing the wide range of shapes that JavaScript objects can take. In addition to describing an

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
gulp
  • References/JavaScript/TypeScript/Project Configuration

gulp

2025-01-10 15:47:30
Import a module for side-effects only
  • References/JavaScript/TypeScript/Modules

Import a module for side-effects only Though not recommended practice, some modules set up some global state that can be used by other modules

2025-01-10 15:47:30